This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Optuna example that optimizes a simple quadratic function in parallel using joblib. | |
In this example, we optimize a simple quadratic function. We also demonstrate how to continue an | |
optimization and to use timeouts. | |
We have the following way to execute this example: | |
$ python quadratic_joblib_simple.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
armaTryFit = function( | |
ll, | |
data, | |
trace=FALSE, | |
includeMean=TRUE, | |
withForecast=TRUE, | |
forecastLength=1 ) | |
{ | |
formula = as.formula( paste( sep="", | |
"xx ~ arma(", ll[1], ",", ll[2], ")" ) ) |