11 #ifndef MULTICLASSTREEGUIDEDLOGISTICREGRESSION_H_
12 #define MULTICLASSTREEGUIDEDLOGISTICREGRESSION_H_
25 class CMulticlassTreeGuidedLogisticRegression :
public CLinearMulticlassMachine
31 CMulticlassTreeGuidedLogisticRegression();
39 CMulticlassTreeGuidedLogisticRegression(
float64_t z, CDotFeatures* feats, CLabels* labs, CIndexBlockTree* tree);
42 virtual ~CMulticlassTreeGuidedLogisticRegression();
45 virtual const
char* get_name()
const
47 return "MulticlassTreeGuidedLogisticRegression";
61 inline
float64_t get_z()
const {
return m_z; }
74 inline
float64_t get_epsilon()
const {
return m_epsilon; }
79 inline void set_max_iter(int32_t max_iter)
82 m_max_iter = max_iter;
87 inline int32_t get_max_iter()
const {
return m_max_iter; }
92 inline void set_index_tree(CIndexBlockTree* index_tree)
96 m_index_tree = index_tree;
101 inline CIndexBlockTree* get_index_tree()
const
110 virtual bool train_machine(CFeatures* data = NULL);
115 void init_defaults();
118 void register_parameters();
123 CIndexBlockTree* m_index_tree;
136 #endif //USE_GPL_SHOGUN
#define MACHINE_PROBLEM_TYPE(PT)
all of classes and functions are contained in the shogun namespace
void set_epsilon(float *begin, float max)