Go to the source code of this file.
Classes | |
class | Node< T > |
This is a generic Node class that is extended by Internal or Leaf Nodes. More... | |
class | MultiClass_Internal_Node< T > |
This class extends Node and represents Internal node in the tree. More... | |
class | MultiClass_Leaf_Node< T > |
This class extends Node and represents Leag node in the tree. More... | |
Functions | |
template<class T> | |
Node< T > * | construct_tree (Hazy_Sgd< T > **models, int low_value, int high_value, int parents_search_key, int parents_label_of_us) |
Constructs the tree. | |
template<class T> | |
Node< T > * | build_root_node (Hazy_Sgd< T > **models, int nLabels) |
Builds tree by using balanced-tree. | |
template<class T> | |
Node< T > * | build_ova (Hazy_Sgd< T > **models, int nLabels) |
Builds tree by using one-versus all tree. |
Builds tree by using one-versus all tree.
[in] | models | list of hazy sgd classifiers |
[in] | nLabels | number of labels |
Builds tree by using balanced-tree.
[in] | models | list of hazy sgd classifiers |
[in] | nLabels | number of labels |
Node<T>* construct_tree | ( | Hazy_Sgd< T > ** | models, | |
int | low_value, | |||
int | high_value, | |||
int | parents_search_key, | |||
int | parents_label_of_us | |||
) |
Constructs the tree.
[in] | models | list of hazy sgd classifiers |
[in] | low_value | |
[in] | high_value | |
[in] | parents_search_key | |
[in] | parents_label_of_us |