Vespucci
1.0.0
|
The PLSData class A class for performing and storing data related to partial least squares determinant analysis. More...
#include <plsdata.h>
Public Member Functions | |
PLSData (QString name) | |
bool | Classify (const mat &spectra, const vec &wavelength, int components) |
PLSData::Apply. More... | |
bool | Calibrate (const mat &spectra, const mat &controls) |
bool | Discriminate (const mat &data, const mat &labels) |
PLSData::Discriminate. More... | |
Public Member Functions inherited from AnalysisResults | |
AnalysisResults (QString name, QString type) | |
AnalysisResults::AnalysisResults. More... | |
virtual | ~AnalysisResults () |
const mat & | GetMatrix (const QString &key) |
void | AddMatrix (const QString &key, const mat &value, QStringList column_headings=QStringList()) |
void | AddColumns (const QStringList &keys, const mat &value) |
void | AddMetadata (QString key, QString value) |
void | AddField (const QString &key, const field< mat > &value) |
const field< mat > & | GetField (const QString &key) |
const mat & | GetFieldElement (const QString &key, const uword &index) |
bool | HasField (const QString &key) const |
bool | HasMatrix (const QString &key) const |
const QStringList | KeyList () const |
const QString | name () const |
const QString | type () const |
const mat & | EmptyMatrix () |
const QMap< QString, QString > | GetMetadata () const |
const QString | GetColumnHeading (const QString &key, int column) |
const QString | GetRowHeading (const QString &key, int row) |
void | SetName (const QString &new_name) |
void | SetType (const QString &new_type) |
QSharedPointer< AnalysisResults > | Subset (QStringList matrices, uword start_row, uword end_row) |
void | AddParent (QString key, uword start_row, uword end_row) |
QMap< QString, uvec > | parent_rows () |
bool | Concatenate (QSharedPointer< AnalysisResults > other) |
AnalysisResults::Concatenate. More... | |
QSharedPointer< AnalysisResults > | Replicate () |
AnalysisResults::Replicate. More... | |
void | RemoveMatrix (const QString &key) |
The PLSData class A class for performing and storing data related to partial least squares determinant analysis.
PLSData::PLSData | ( | QString | name | ) |
Definition at line 22 of file plsdata.cpp.
bool PLSData::Calibrate | ( | const mat & | spectra, |
const mat & | controls | ||
) |
Definition at line 63 of file plsdata.cpp.
bool PLSData::Classify | ( | const mat & | spectra, |
const vec & | wavelength, | ||
int | components | ||
) |
PLSData::Apply.
spectra | Input matrix |
wavelength | Spectral abscissa |
components | Number of components to calculate |
Definition at line 35 of file plsdata.cpp.
bool PLSData::Discriminate | ( | const mat & | data, |
const mat & | labels | ||
) |