10 #ifndef MULTICLASSLOGISTICREGRESSION_H_
11 #define MULTICLASSLOGISTICREGRESSION_H_
12 #include <shogun/lib/config.h>
13 #include <shogun/lib/common.h>
14 #include <shogun/features/DotFeatures.h>
15 #include <shogun/machine/LinearMulticlassMachine.h>
17 #include <shogun/multiclass/MulticlassOneVsRestStrategy.h>
18 #include <shogun/io/SGIO.h>
19 #include <shogun/mathematics/Math.h>
20 #include <shogun/labels/MulticlassLabels.h>
21 #include <shogun/lib/slep/slep_mc_plain_lr.h>
26 #include <Eigen/Dense>
27 #include <shogun/base/some.h>
39 MACHINE_PROBLEM_TYPE(PT_MULTICLASS)
55 virtual const char*
get_name()
const;
60 void set_z(float64_t z);
65 inline float64_t
get_z()
const;
88 vector<SGVector<float64_t>>
get_w();
89 void set_w(vector<Eigen::VectorXd>& wnew);
multiclass logistic regression
virtual const char * get_name() const
void set_w(vector< Eigen::VectorXd > &wnew)
void set_epsilon(float64_t epsilon)
int32_t get_max_iter() const
~CMulticlassLogisticRegression()
float64_t get_epsilon() const
vector< float64_t > get_bias()
void register_parameters()
vector< SGVector< float64_t > > get_w()
void set_max_iter(int32_t max_iter)
virtual bool train_machine(CFeatures *data=NULL)
CMulticlassLogisticRegression()