Commit 32bc89f0 authored by Andrey Pavlenko's avatar Andrey Pavlenko Committed by OpenCV Buildbot

Merge pull request #2107 from nghiaho12:nn_doc

parents 64244e16 d3e24f3c
...@@ -240,6 +240,7 @@ This method applies the specified training algorithm to computing/adjusting the ...@@ -240,6 +240,7 @@ This method applies the specified training algorithm to computing/adjusting the
The RPROP training algorithm is parallelized with the TBB library. The RPROP training algorithm is parallelized with the TBB library.
If you are using the default ``cvANN_MLP::SIGMOID_SYM`` activation function then the output should be in the range [-1,1], instead of [0,1], for optimal results.
CvANN_MLP::predict CvANN_MLP::predict
------------------ ------------------
...@@ -257,6 +258,8 @@ Predicts responses for input samples. ...@@ -257,6 +258,8 @@ Predicts responses for input samples.
The method returns a dummy value which should be ignored. The method returns a dummy value which should be ignored.
If you are using the default ``cvANN_MLP::SIGMOID_SYM`` activation function with the default parameter values fparam1=0 and fparam2=0 then the function used is y = 1.7159*tanh(2/3 * x), so the output will range from [-1.7159, 1.7159], instead of [0,1].
CvANN_MLP::get_layer_count CvANN_MLP::get_layer_count
-------------------------- --------------------------
Returns the number of layers in the MLP. Returns the number of layers in the MLP.
......
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