C# Class OpenCvSharp.ML.ANN_MLP

Artificial Neural Networks - Multi-Layer Perceptrons.
Inheritance: StatModel
Mostrar archivo Open project: shimat/opencvsharp

Public Methods

Method Description
Create ( ) : ANN_MLP

Creates the empty model.

GetLayerSizes ( ) : Mat

Integer vector specifying the number of neurons in each layer including the input and output layers. The very first element specifies the number of elements in the input layer. The last element - number of elements in the output layer.

SetLayerSizes ( InputArray layerSizes ) : void

Integer vector specifying the number of neurons in each layer including the input and output layers. The very first element specifies the number of elements in the input layer. The last element - number of elements in the output layer.Default value is empty Mat.

Protected Methods

Method Description
ANN_MLP ( IntPtr p ) : System

Creates instance by raw pointer cv::ml::ANN_MLP*

Dispose ( bool disposing ) : void

Clean up any resources being used.

Method Details

ANN_MLP() protected method

Creates instance by raw pointer cv::ml::ANN_MLP*
protected ANN_MLP ( IntPtr p ) : System
p System.IntPtr
return System

Create() public static method

Creates the empty model.
public static Create ( ) : ANN_MLP
return ANN_MLP

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool /// If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. /// If false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. ///
return void

GetLayerSizes() public method

Integer vector specifying the number of neurons in each layer including the input and output layers. The very first element specifies the number of elements in the input layer. The last element - number of elements in the output layer.
public GetLayerSizes ( ) : Mat
return Mat

SetLayerSizes() public method

Integer vector specifying the number of neurons in each layer including the input and output layers. The very first element specifies the number of elements in the input layer. The last element - number of elements in the output layer.Default value is empty Mat.
public SetLayerSizes ( InputArray layerSizes ) : void
layerSizes InputArray
return void