Creates StatisticalModel using Principal Component Analysis.
More...
#include <PCAModelBuilder.h>
|
static const double | TOLERANCE = 1e-5 |
|
MatrixType | ComputeScores (const MatrixType &X, const StatisticalModelType *model) const |
|
ModelInfo | CollectModelInfo () const |
|
template<typename T>
class statismo::PCAModelBuilder< T >
Creates StatisticalModel using Principal Component Analysis.
This class implements the classical PCA based approach to Statistical Models.
Build a new model from the training data provided in the dataManager.
- Parameters
-
samples | A sampleSet holding the data |
noiseVariance | The variance of N(0, noiseVariance) distributed noise on the points. If this parameter is set to 0, we have a standard PCA model. For values > 0 we have a PPCA model. |
computeScores | Determines whether the scores (the pca coefficients of the examples) are computed and stored as model info (computing the scores may take a long time for large models). |
- Returns
- A new Statistical model
- Warning
- The method allocates a new Statistical Model object, that needs to be deleted by the user.
Destroy the object. The same effect can be achieved by deleting the object in the usual way using the c++ delete keyword.
The documentation for this class was generated from the following files: