Skip to content

Commit

Permalink
Added problem type to clustering
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed May 22, 2012
1 parent 33a03c0 commit 2741f89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/clustering/Hierarchical.h
Expand Up @@ -48,6 +48,8 @@ class CHierarchical : public CDistanceMachine
CHierarchical(int32_t merges, CDistance* d);
virtual ~CHierarchical();

MACHINE_PROBLEM_TYPE(PT_MULTICLASS);

/** get classifier type
*
* @return classifier type HIERARCHICAL
Expand Down
3 changes: 3 additions & 0 deletions src/shogun/clustering/KMeans.h
Expand Up @@ -50,6 +50,9 @@ class CKMeans : public CDistanceMachine
CKMeans(int32_t k, CDistance* d);
virtual ~CKMeans();


MACHINE_PROBLEM_TYPE(PT_MULTICLASS)

/** get classifier type
*
* @return classifier type KMEANS
Expand Down

0 comments on commit 2741f89

Please sign in to comment.