Open zjiang4 opened 6 years ago
You would need to create multiple parameters that can be mapped from the scoring function to the vector. For instance, neuralnet has a parameter hidden which can be c(4,5) for a 2 hidden layer network. You would need to create 2 parameters firstLayer and secondLayer, create bounds for them and inside the scoring function assign them to the hidden parameter: hidden = c(firstLayer,secondLayer).
see the header....Many programmers do not provide the details about specifying the parameter format...that is really time consuming.