stores meta information about the model, such as e.g. the name (uri) of the datasets used to build the models, or specific parameters of the modelBuilders.
More...
#include <ModelInfo.h>
stores meta information about the model, such as e.g. the name (uri) of the datasets used to build the models, or specific parameters of the modelBuilders.
The ModelInfo object stores the scores and a list of BuilderInfo objects. Each BuilderInfo contains the information (datasets, parameters) that were used to build the model. If n model builders had been used in succession to create a model, there will be a list of n builder objects.
statismo::ModelInfo::ModelInfo |
( |
const MatrixType & |
scores, |
|
|
const BuilderInfoList & |
builderInfos |
|
) |
| |
Creates a new ModelInfo object with the given information
- Parameters
-
scores | A matrix holding the scores |
builderInfos | A list of BuilderInfo objects |
statismo::ModelInfo::ModelInfo |
( |
const MatrixType & |
scores | ) |
|
Create a ModelInfo object without specifying any BuilderInfos
- Parameters
-
scores | A matrix holding the scores |
ModelInfo::BuilderInfoList statismo::ModelInfo::GetBuilderInfoList |
( |
| ) |
const |
Returns a list with BuilderInfos
const MatrixType & statismo::ModelInfo::GetScoresMatrix |
( |
| ) |
const |
Returns the scores matrix. That is, a matrix where the i-th column corresponds to the coefficients of the i-th dataset in the model
void statismo::ModelInfo::Load |
( |
const H5::CommonFG & |
publicFg | ) |
|
|
virtual |
Loads the model info from the given group in the HDF5 file.
void statismo::ModelInfo::Save |
( |
const H5::CommonFG & |
publicFg | ) |
const |
|
virtual |
Saves the model info to the given group in the HDF5 file
The documentation for this class was generated from the following files: