Superclass of supervised learning algorithms. More...
#include <shark/Algorithms/Trainers/AbstractTrainer.h>
 Inheritance diagram for shark::AbstractTrainer< Model, LabelTypeT >:
 Inheritance diagram for shark::AbstractTrainer< Model, LabelTypeT >:| Public Types | |
| typedef Model | ModelType | 
| typedef ModelType::InputType | InputType | 
| typedef LabelTypeT | LabelType | 
| typedef LabeledData< InputType, LabelType > | DatasetType | 
| Public Member Functions | |
| virtual void | train (ModelType &model, DatasetType const &dataset)=0 | 
| Core of the Trainer interface. | |
|  Public Member Functions inherited from shark::INameable | |
| virtual | ~INameable () | 
| virtual std::string | name () const | 
| returns the name of the object | |
|  Public Member Functions inherited from shark::ISerializable | |
| virtual | ~ISerializable () | 
| Virtual d'tor. | |
| virtual void | read (InArchive &archive) | 
| Read the component from the supplied archive. | |
| virtual void | write (OutArchive &archive) const | 
| Write the component to the supplied archive. | |
| void | load (InArchive &archive, unsigned int version) | 
| Versioned loading of components, calls read(...). | |
| void | save (OutArchive &archive, unsigned int version) const | 
| Versioned storing of components, calls write(...). | |
| BOOST_SERIALIZATION_SPLIT_MEMBER () | |
Superclass of supervised learning algorithms.
Definition at line 75 of file AbstractTrainer.h.
| typedef LabeledData<InputType, LabelType> shark::AbstractTrainer< Model, LabelTypeT >::DatasetType | 
Definition at line 81 of file AbstractTrainer.h.
| typedef ModelType::InputType shark::AbstractTrainer< Model, LabelTypeT >::InputType | 
Definition at line 79 of file AbstractTrainer.h.
| typedef LabelTypeT shark::AbstractTrainer< Model, LabelTypeT >::LabelType | 
Definition at line 80 of file AbstractTrainer.h.
| typedef Model shark::AbstractTrainer< Model, LabelTypeT >::ModelType | 
Definition at line 78 of file AbstractTrainer.h.
| 
 | pure virtual | 
Core of the Trainer interface.
Implemented in shark::AbstractWeightedTrainer< Model, LabelTypeT >, and shark::LinearSAGTrainer< InputType, LabelType >.
Referenced by shark::LooError< ModelTypeT, LabelType >::eval(), shark::CrossValidationError< ModelTypeT, LabelTypeT >::eval(), and main().