Commit 0e226333c3ce3cfbe5de727eccfd81f43c86ea06

Authored by Scott Klum
1 parent 45c70cab

Fixed default params

Showing 1 changed file with 1 additions and 1 deletions
openbr/plugins/nn.cpp
@@ -70,7 +70,7 @@ class MLPTransform : public MetaTransform @@ -70,7 +70,7 @@ class MLPTransform : public MetaTransform
70 for (int i=0; i<neuronsPerLayer.size(); i++) { 70 for (int i=0; i<neuronsPerLayer.size(); i++) {
71 layers.row(i) = Scalar(neuronsPerLayer.at(i)); 71 layers.row(i) = Scalar(neuronsPerLayer.at(i));
72 } 72 }
73 - mlp.create(layers,CvANN_MLP::SIGMOID_SYM, .8, .6); 73 + mlp.create(layers,CvANN_MLP::SIGMOID_SYM, 1, 1);
74 } 74 }
75 75
76 void train(const TemplateList &data) 76 void train(const TemplateList &data)