Commit fd87751b authored by Jussi Lindgren's avatar Jussi Lindgren
Browse files

Plugins: Fixed the probability output order of the SVM algorithm

parent 4324b77a
......@@ -377,7 +377,7 @@ boolean CAlgorithmClassifierSVM::classify(const IFeatureVector& rFeatureVector,
for(int i=0;i<m_pModel->nr_class;i++)
this->getLogManager() << LogLevel_Trace << "index:"<<i<<" label:"<< m_pModel->label[i]<<" probability:"<<l_pProbEstimates[i]<<"\n";
rProbabilityValue[ (m_pModel->label[i])-1 ]=l_pProbEstimates[i];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment