Skip to content

Commit

Permalink
register m_num_classes of MulticlassStrategy.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed Apr 28, 2012
1 parent 022c18d commit 1981a90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shogun/multiclass/MulticlassStrategy.cpp
Expand Up @@ -17,6 +17,7 @@ using namespace shogun;
CMulticlassStrategy::CMulticlassStrategy()
:m_train_labels(NULL), m_orig_labels(NULL), m_train_iter(0)
{
SG_ADD(&m_num_classes, "num_classes", "Number of classes", MS_NOT_AVAILABLE);
}

void CMulticlassStrategy::train_start(CLabels *orig_labels, CLabels *train_labels)
Expand Down

0 comments on commit 1981a90

Please sign in to comment.