Skip to content

Commit

Permalink
Merge pull request #1857 from karlnapf/develop
Browse files Browse the repository at this point in the history
remove warning for not registered multiclass strategy parameters and reg...
  • Loading branch information
Soeren Sonnenburg committed Feb 9, 2014
2 parents 45966c2 + 0047270 commit d7f1391
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/shogun/multiclass/MulticlassStrategy.cpp
Expand Up @@ -40,9 +40,7 @@ void CMulticlassStrategy::init()

SG_ADD((CSGObject**)&m_rejection_strategy, "rejection_strategy", "Strategy of rejection", MS_NOT_AVAILABLE);
SG_ADD(&m_num_classes, "num_classes", "Number of classes", MS_NOT_AVAILABLE);
//SG_ADD((machine_int_t*)&m_prob_heuris, "prob_heuris", "Probability estimation heuristics", MS_NOT_AVAILABLE);

SG_WARNING("%s::CMulticlassStrategy(): register parameters!\n", get_name());
SG_ADD((machine_int_t*)&m_prob_heuris, "prob_heuris", "Probability estimation heuristics", MS_NOT_AVAILABLE);
}

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

0 comments on commit d7f1391

Please sign in to comment.