Skip to content

Commit

Permalink
Removed junk methods from DistanceMachine
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed May 21, 2012
1 parent 4b44437 commit 74ec526
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/shogun/machine/DistanceMachine.h
Expand Up @@ -93,18 +93,6 @@ class CDistanceMachine : public CMachine
*/
virtual CMulticlassLabels* apply_multiclass(CFeatures* data=NULL);

virtual CRegressionLabels* apply_regression(CFeatures* data=NULL)
{
SG_ERROR("Not supported");
return NULL;
}

virtual CBinaryLabels* apply_binary(CFeatures* data=NULL)
{
SG_ERROR("Not supported");
return NULL;
}

/** Apply machine to one example.
* Cluster index with smallest distance to to be classified element is
* returned
Expand Down

0 comments on commit 74ec526

Please sign in to comment.