CvANN_MLPCreate Method (Mat, MLPActivationFunc, Double, Double) OpenCvSharp Class Library
Constructs the MLP with the specified topology

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void Create(
	Mat layerSizes,
	MLPActivationFunc activFunc = MLPActivationFunc.SigmoidSym,
	double fParam1 = 0,
	double fParam2 = 0
)

Parameters

layerSizes
Type: OpenCvSharp.CPlusPlusMat
The integer vector specifies the number of neurons in each layer including the input and output layers.
activFunc (Optional)
Type: OpenCvSharp.CPlusPlusMLPActivationFunc
Specifies the activation function for each neuron
fParam1 (Optional)
Type: SystemDouble
Free parameter α of the activation function
fParam2 (Optional)
Type: SystemDouble
Free parameter β of the activation function
See Also

Reference