Class-specific Model Parameters. More...
#include <xmmModelParameters.hpp>
Public Member Functions | |
| ClassParameters () | |
| Default Constructor. More... | |
| ClassParameters (ClassParameters const &src) | |
| Copy Constructor. More... | |
| ClassParameters (Json::Value const &root) | |
| Constructor from Json Structure. More... | |
| ClassParameters & | operator= (ClassParameters const &src) |
| Assignment. More... | |
Json I/O | |
| virtual Json::Value | toJson () const =0 |
| Write the object to a JSON Structure. More... | |
| virtual void | fromJson (Json::Value const &root)=0 |
| Read the object from a JSON Structure. More... | |
Python File I/O | |
| void | writeFile (char *fileName) const |
| write method for python wrapping ('write' keyword forbidden, name has to be different) More... | |
| void | readFile (char *fileName) |
| read method for python wrapping ('read' keyword forbidden, name has to be different) More... | |
| std::string | __str__ () const |
| "print" method for python => returns the results of write method More... | |
Public Attributes | |
| bool | changed |
| specifies if parameters have changed (model is invalid) More... | |
Class-specific Model Parameters.
this structure is then encapsulated in a Configuration object that propagates default parameters or class-specific parameters to the SingleClassModel.
|
inline |
Default Constructor.
|
inline |
Copy Constructor.
| src | Source Object |
|
inlineexplicit |
Constructor from Json Structure.
| root | Json value |
|
inlineinherited |
"print" method for python => returns the results of write method
|
pure virtualinherited |
Read the object from a JSON Structure.
| root | JSON value containing the object's information |
| JsonException | if the JSON value has a wrong format |
Implemented in xmm::Model< SingleClassModel, ModelType >, xmm::Model< SingleClassHMM, HMM >, xmm::Model< SingleClassGMM, GMM >, xmm::Phrase, xmm::SingleClassProbabilisticModel, xmm::TrainingSet, xmm::GaussianDistribution, xmm::Configuration< ModelType >, xmm::Configuration< xmm::KMeans >, xmm::Configuration< GMM >, xmm::HierarchicalHMM, xmm::SingleClassHMM, xmm::SingleClassGMM, xmm::KMeans, xmm::SharedParameters, xmm::ClassParameters< KMeans >, and xmm::ClassParameters< GMM >.
|
inline |
Assignment.
| src | Source Object |
|
inlineinherited |
read method for python wrapping ('read' keyword forbidden, name has to be different)
|
pure virtualinherited |
Write the object to a JSON Structure.
Implemented in xmm::Model< SingleClassModel, ModelType >, xmm::Model< SingleClassHMM, HMM >, xmm::Model< SingleClassGMM, GMM >, xmm::Phrase, xmm::SingleClassProbabilisticModel, xmm::TrainingSet, xmm::GaussianDistribution, xmm::Configuration< ModelType >, xmm::Configuration< xmm::KMeans >, xmm::Configuration< GMM >, xmm::HierarchicalHMM, xmm::SingleClassHMM, xmm::SingleClassGMM, xmm::KMeans, xmm::SharedParameters, xmm::ClassParameters< KMeans >, and xmm::ClassParameters< GMM >.
|
inlineinherited |
write method for python wrapping ('write' keyword forbidden, name has to be different)
| bool xmm::ClassParameters< ModelType >::changed |
specifies if parameters have changed (model is invalid)