Skip to content

Commit

Permalink
Merge branch 'multiclass-ecoc' of https://github.com/pluskid/shogun
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed May 22, 2012
2 parents 28082be + 52d53fd commit f318aee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shogun/machine/Machine.h
Expand Up @@ -77,7 +77,8 @@ enum EMachineType
CT_QDA = 430,
CT_NEWTONSVM = 440,
CT_GAUSSIANPROCESSREGRESSION = 450,
CT_LARS = 460
CT_LARS = 460,
CT_MULTICLASS = 470
};

/** solver type */
Expand Down
12 changes: 12 additions & 0 deletions src/shogun/machine/MulticlassMachine.h
Expand Up @@ -122,6 +122,18 @@ class CMulticlassMachine : public CMachine
return "MulticlassMachine";
}

virtual EProblemType get_machine_problem_type() const
{
return PT_MULTICLASS;
}

/** get classifier type
*/
virtual EMachineType get_classifier_type()
{
return CT_MULTICLASS;
}

protected:
/** init strategy */
void init_strategy();
Expand Down

0 comments on commit f318aee

Please sign in to comment.