rBayesianOptimization icon indicating copy to clipboard operation
rBayesianOptimization copied to clipboard

how to specify bounds if the input is in a vector format

Open zjiang4 opened this issue 7 years ago • 1 comments

see the header....Many programmers do not provide the details about specifying the parameter format...that is really time consuming.

zjiang4 avatar Apr 11 '18 00:04 zjiang4

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).

AnotherSamWilson avatar Nov 01 '18 21:11 AnotherSamWilson