Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Replaced apply with apply_one in distance machine
  • Loading branch information
lisitsyn committed May 21, 2012
1 parent 615e2bb commit b60ea37
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/shogun/machine/DistanceMachine.h
Expand Up @@ -84,18 +84,6 @@ class CDistanceMachine : public CMachine
*/
virtual const char* get_name() const { return "DistanceMachine"; }

/** Classify all provided features.
* Cluster index with smallest distance to to be classified element is
* returned
*
* @param data (test)data to be classified
* @return classified labels
*/
virtual CLabels* apply(CFeatures* data=NULL)
{
return apply_multiclass(data);
}

/** Classify all provided features.
* Cluster index with smallest distance to to be classified element is
* returned
Expand Down

0 comments on commit b60ea37

Please sign in to comment.