#include <multi_class.h>
Inheritance diagram for Node< T >:
Public Member Functions | |
virtual void | single_entity_read (int entity_id, int &sClass)=0 |
Retrieves class of the entity. | |
virtual void | insert_example (int label, T &vec)=0 |
Inserts given training examples to the tree and model is updated with this example. | |
virtual | ~Node () |
Destructor. | |
Protected Attributes | |
Hazy_Sgd< T > * | _classifier |
List of classifiers. |
virtual void Node< T >::insert_example | ( | int | label, | |
T & | vec | |||
) | [pure virtual] |
Inserts given training examples to the tree and model is updated with this example.
[in] | label | class of the training example |
[in] | vec | feature vector of the given example |
Implemented in MultiClass_Internal_Node< T >, and MultiClass_Leaf_Node< T >.
virtual void Node< T >::single_entity_read | ( | int | entity_id, | |
int & | sClass | |||
) | [pure virtual] |
Retrieves class of the entity.
[in] | entity_id | id of the entity |
[out] | sClass | class of the entity |
Implemented in MultiClass_Internal_Node< T >, and MultiClass_Leaf_Node< T >.
Hazy_Sgd<T>* Node< T >::_classifier [protected] |
List of classifiers.