Skip to content

Commit

Permalink
~ change qda parameters->add to SG_ADD
Browse files Browse the repository at this point in the history
  • Loading branch information
iglesias committed May 18, 2012
1 parent 27dd267 commit 21a5be9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/shogun/classifier/QDA.cpp
Expand Up @@ -43,11 +43,11 @@ CQDA::~CQDA()

void CQDA::init()
{
m_parameters->add(&m_tolerance, "m_tolerance", "Tolerance member.");
m_parameters->add(&m_store_covs, "m_store_covs", "Store covariances member");
m_parameters->add((CSGObject**) &m_features, "m_features", "Feature object.");
m_parameters->add(&m_means, "m_means", "Mean vectors list");
m_parameters->add(&m_slog, "m_slog", "Vector used in classification");
SG_ADD(&m_tolerance, "m_tolerance", "Tolerance member.", MS_AVAILABLE);
SG_ADD(&m_store_covs, "m_store_covs", "Store covariances member", MS_NOT_AVAILABLE);
SG_ADD((CSGObject**) &m_features, "m_features", "Feature object.", MS_NOT_AVAILABLE);
SG_ADD(&m_means, "m_means", "Mean vectors list", MS_NOT_AVAILABLE);
SG_ADD(&m_slog, "m_slog", "Vector used in classification", MS_NOT_AVAILABLE);

//TODO include SGNDArray objects for serialization

Expand Down

0 comments on commit 21a5be9

Please sign in to comment.