AnotherSamWilson / ParBayesianOptimization

Parallelizable Bayesian Optimization in R
107 stars 18 forks source link

Missing function #23

Closed dkatztibco closed 3 years ago

dkatztibco commented 3 years ago

Trying to run the example in the R docs but I get this error: tNoPar <- system.time( ScoreResult <- BayesianOptimization( FUN = scoringFunction , bounds = bounds , initPoints = 4 , bulkNew = 1 , nIters = 6 , kern = kern , acq = acq , kappa = 2.576 , verbose = 1 , parallel = FALSE) ) (from the docs)

Error in BayesianOptimization(FUN = scoringFunction, bounds = bounds, : could not find function "BayesianOptimization"

This function is not found after loading the library. I also tried using the function of the same name in package rBayesianOptimization but it doesn't seem to work. Any help appreciated.

Sorry for the cross-post on the wrong issue...

Regards,

Jopinc commented 3 years ago

Hi @dkatztibco: The function to do what you want to do is called: bayesOpt. Look at: https://www.rdocumentation.org/packages/ParBayesianOptimization/versions/1.2.1/topics/bayesOpt

Best Regards

dkatztibco commented 3 years ago

On Sun, Jan 10, 2021 at 1:34 PM Jopinc notifications@github.com wrote:

Hi @dkatztibco https://github.com/dkatztibco: The function to do what you want to do is called: bayesOpt. Look at: https://www.rdocumentation.org/packages/ParBayesianOptimization/versions/1.2.1/topics/bayesOpt

Best Regards

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AnotherSamWilson/ParBayesianOptimization/issues/23#issuecomment-757547661, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD7T3JCNKUWTVWPLSVNQDDSZIMNVANCNFSM4V4VT54Q .

Thanks for your quick reply. I will give that a try

--

David Katz, TIBCO Data Science

1.541.324.7417

dkatztibco commented 3 years ago

Sam, (is that right?)

Works for me now - thanks for your help and for the package.

Regards,

David Katz, TIBCO Data Science

1.541.324.7417

On Sun, Jan 10, 2021 at 1:34 PM Jopinc notifications@github.com wrote:

Hi @dkatztibco https://github.com/dkatztibco: The function to do what you want to do is called: bayesOpt. Look at: https://www.rdocumentation.org/packages/ParBayesianOptimization/versions/1.2.1/topics/bayesOpt

Best Regards

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AnotherSamWilson/ParBayesianOptimization/issues/23#issuecomment-757547661, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD7T3JCNKUWTVWPLSVNQDDSZIMNVANCNFSM4V4VT54Q .

Jopinc commented 3 years ago

You're welcome! I'm Jorge

AnotherSamWilson commented 3 years ago

@dkatztibco see this release and this comment.