11 #ifndef MULTICLASSLOGISTICREGRESSION_H_
12 #define MULTICLASSLOGISTICREGRESSION_H_
25 class CMulticlassLogisticRegression :
public CLinearMulticlassMachine
31 CMulticlassLogisticRegression();
38 CMulticlassLogisticRegression(
float64_t z, CDotFeatures* feats, CLabels* labs);
41 virtual ~CMulticlassLogisticRegression();
44 virtual const
char* get_name()
const
46 return "MulticlassLogisticRegression";
60 inline
float64_t get_z()
const {
return m_z; }
73 inline
float64_t get_epsilon()
const {
return m_epsilon; }
78 inline void set_max_iter(int32_t max_iter)
81 m_max_iter = max_iter;
86 inline int32_t get_max_iter()
const {
return m_max_iter; }
91 virtual bool train_machine(CFeatures* data = NULL);
99 void register_parameters();
114 #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)