Skip to content

Commit

Permalink
Add vanilla store_model_features for LinearMulticlassMachine
Browse files Browse the repository at this point in the history
So one can actually do a cross-validation with multiclass linear
machines
  • Loading branch information
vigsterkr committed May 7, 2012
1 parent ae429c4 commit d301049
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/shogun/machine/LinearMulticlassMachine.h
Expand Up @@ -153,6 +153,12 @@ class CLinearMulticlassMachine : public CMulticlassMachine
m_features->remove_subset();
}

/** Stores feature data of underlying model. Does nothing because
* Linear machines store the normal vector of the separating hyperplane
* and therefore the model anyway
*/
virtual void store_model_features() {}

protected:

/** features */
Expand Down

0 comments on commit d301049

Please sign in to comment.