Builds a new model which retains only the specified total variance. More...
#include <ReducedVarianceModelBuilder.h>

Public Types | |
| typedef ModelBuilder< Representer > | Superclass |
|
typedef Superclass::StatisticalModelType | StatisticalModelType |
Public Types inherited from statismo::ModelBuilder< Representer > | |
| typedef Representer< Representer > | RepresenterType |
|
typedef StatisticalModel < Representer > | StatisticalModelType |
| typedef DataManager< Representer > | DataManagerType |
|
typedef DataManagerType::DataItemListType | DataItemListType |
Public Member Functions | |
| void | Delete () |
| virtual | ~ReducedVarianceModelBuilder () |
| StatisticalModelType * | BuildNewModelWithLeadingComponents (const StatisticalModelType *model, unsigned numberOfPrincipalComponents) const |
| StatisticalModelType * | BuildNewModelWithVariance (const StatisticalModelType *model, double totalVariance) const |
|
is_deprecated StatisticalModelType * | BuildNewModelFromModel (const StatisticalModelType *model, double totalVariance) const |
Static Public Member Functions | |
| static ReducedVarianceModelBuilder * | Create () |
Additional Inherited Members | |
Static Public Attributes inherited from statismo::ModelBuilder< Representer > | |
| static const double | TOLERANCE |
Protected Member Functions inherited from statismo::ModelBuilder< Representer > | |
| MatrixType | ComputeScores (const MatrixType &X, const StatisticalModelType *model) const |
| ModelInfo | CollectModelInfo () const |
Builds a new model which retains only the specified total variance.
|
inlinevirtual |
The desctructor
| ReducedVarianceModelBuilder< T >::StatisticalModelType * statismo::ReducedVarianceModelBuilder< T >::BuildNewModelWithLeadingComponents | ( | const StatisticalModelType * | model, |
| unsigned | numberOfPrincipalComponents | ||
| ) | const |
Build a new model from the given model, which retains only the leading principal components
| model | A statistical model. |
| numberOfPrincipalComponents,\return | a new statistical model |
| ReducedVarianceModelBuilder< T >::StatisticalModelType * statismo::ReducedVarianceModelBuilder< T >::BuildNewModelWithVariance | ( | const StatisticalModelType * | model, |
| double | totalVariance | ||
| ) | const |
Build a new model from the given model, which retains only the specified variance
| model | A statistical model. |
| totalVariance,The | fraction of the variance to be retained |
|
inlinestatic |
Factory method to create a new ReducedVarianceModelBuilder
|
inline |
Destroy the object. The same effect can be achieved by deleting the object in the usual way using the c++ delete keyword.
1.8.6