Skip to content

Instantly share code, notes, and snippets.

@toshihikoyanase
toshihikoyanase / quadratic_joblib_simple.py
Created August 28, 2019 06:55
Optuna example that optimizes a quadratic function in parallel using joblib.
"""
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
@ivannp
ivannp / computeArmaForcasts.R
Created June 9, 2012 21:27
Compute a day-by-day trading indicator using ARMA models
armaTryFit = function(
ll,
data,
trace=FALSE,
includeMean=TRUE,
withForecast=TRUE,
forecastLength=1 )
{
formula = as.formula( paste( sep="",
"xx ~ arma(", ll[1], ",", ll[2], ")" ) )