getBestPars: Get the Best Parameter Set
Description
Returns the parameter set which resulted in the maximum score from FUN
.
Usage
getBestPars(optObj, N = 1)
Arguments
optObj
An object of class bayesOpt
N
The number of parameter sets to return
Details
If N > 1, a data.table with N rows is returned, order by score decreasing.
If N = 1, a list of parameters is returned.