Event for monitoring the training process. More...
#include <xmmModelSingleClass.hpp>
Public Types | |
| enum | Status { Run, Error, Cancel, Done, Alldone } |
| Status of the training process. More... | |
| enum | ErrorType { ErrorType::ConvergenceError } |
| Type of Training Error. More... | |
Public Member Functions | |
| TrainingEvent (void *model_, std::string label_, Status status_=Status::Run) | |
| Constructor. More... | |
| TrainingEvent (TrainingEvent const &src) | |
| Copy constructor. More... | |
| TrainingEvent & | operator= (TrainingEvent const &src) |
| Assignment operator. More... | |
Public Attributes | |
| void * | model |
| Source Model. More... | |
| std::string | label |
| Label of the source model, if any. More... | |
| Status | status |
| Status of the training process. More... | |
| float | progression |
| progression within the training algorithm More... | |
| double | log_likelihood |
| Log-likelihood of the data given the model's parameters at the en of training. More... | |
| double | iterations |
| Number of EM iterations. More... | |
Event for monitoring the training process.
|
strong |
|
inline |
Constructor.
| model_ | Source model |
| label_ | Label of the model sending the notification |
| status_ | status of the training process |
|
inline |
Copy constructor.
| src | source event |
|
inline |
Assignment operator.
| src | source event |
| double xmm::TrainingEvent::iterations |
Number of EM iterations.
| std::string xmm::TrainingEvent::label |
Label of the source model, if any.
| double xmm::TrainingEvent::log_likelihood |
Log-likelihood of the data given the model's parameters at the en of training.
| void* xmm::TrainingEvent::model |
Source Model.
| float xmm::TrainingEvent::progression |
progression within the training algorithm
| Status xmm::TrainingEvent::status |
Status of the training process.