Skip to content
Snippets Groups Projects
Commit e8b51e37 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: fix choice order in neural network classifier

parent 8dbe1771
No related branches found
No related tags found
No related merge requests found
......@@ -173,12 +173,12 @@ LearningApplicationBase<TInputValue,TOutputValue>
switch (GetParameterInt("classifier.ann.t"))
{
case 0: // RPROP
classifier->SetTrainMethod(CvANN_MLP_TrainParams::RPROP);
break;
case 1: // BACKPROP
case 0: // BACKPROP
classifier->SetTrainMethod(CvANN_MLP_TrainParams::BACKPROP);
break;
case 1: // RPROP
classifier->SetTrainMethod(CvANN_MLP_TrainParams::RPROP);
break;
default: // DEFAULT = RPROP
classifier->SetTrainMethod(CvANN_MLP_TrainParams::RPROP);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment