annTrain - How can I define the structure of the hidden layers in my neural network?

Réponse

The 'hiddens' parameter allows you to specify the number of hidden neurons for each hidden layer. For example, specifying hiddens={10, 5} would create a network with two hidden layers, the first having 10 neurons and the second having 5.
Did this answer help you?