Create a new neural network with "inputs" inputs and size of "layers" layers of neurones. The layer i is made with layers_desc[i] neurones. The activation function of each neuron is set to n_act. The lerning algorithm is set to learn.

[Visual Basic]
Overloads Public Sub New( _
   ByVal inputs As Integer, _
   ByVal layers_desc As Integer(), _
   ByVal n_act As NeuralNetwork.ActivationFunction, _
   ByVal learn As NeuralNetwork.LearningAlgorithm _
)
[C#]
public NeuralNetwork(
   int inputs,
   int[] layers_desc,
   ActivationFunction n_act,
   LearningAlgorithm learn
);

Parameters

inputs

Number of inputs of the network

layers_desc

Number of neurons for each layer of the network

n_act

Activation function for each neuron in the network

learn

Learning algorithm to be used by the neural network

See Also

NeuralNetwork Class | NeuralNetwork Members | NeuralNetwork Namespace | NeuralNetwork Constructor Overload List