Vespucci
1.0.0
|
The PrincipalComponentsData class A class for performing and storing data from principal components analysis. More...
#include <principalcomponentsdata.h>
Public Member Functions | |
PrincipalComponentsData (QString name) | |
PrincipalComponentsData::PrincipalComponentsData. More... | |
void | Apply (const mat &spectra) |
PrincipalComponentsData::Apply. 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 PrincipalComponentsData class A class for performing and storing data from principal components analysis.
Definition at line 32 of file principalcomponentsdata.h.
PrincipalComponentsData::PrincipalComponentsData | ( | QString | name | ) |
PrincipalComponentsData::PrincipalComponentsData.
parent | Dataset |
directory | global directory |
Definition at line 27 of file principalcomponentsdata.cpp.
void PrincipalComponentsData::Apply | ( | const mat & | spectra | ) |
PrincipalComponentsData::Apply.
spectra | Perform analysis using arma::princomp |
Definition at line 37 of file principalcomponentsdata.cpp.