Create a neural network using the specific parameters
Namespace: Emgu.CV.MLAssembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
public static IntPtr CvANN_MLPCreate( IntPtr layerSizes, ANN_MLP_ACTIVATION_FUNCTION activeFunction, double fParam1, double fParam2 )
Public Shared Function CvANN_MLPCreate ( _ layerSizes As IntPtr, _ activeFunction As ANN_MLP_ACTIVATION_FUNCTION, _ fParam1 As Double, _ fParam2 As Double _ ) As IntPtr
public: static IntPtr CvANN_MLPCreate( IntPtr layerSizes, ANN_MLP_ACTIVATION_FUNCTION activeFunction, double fParam1, double fParam2 )
Parameters
- layerSizes
- IntPtr
The size of the layer
- activeFunction
- ANN_MLP_ACTIVATION_FUNCTION
Activation function
- fParam1
- Double
Free parameters of the activation function, alpha
- fParam2
- Double
Free parameters of the activation function, beta