yanyachen / rBayesianOptimization

Bayesian Optimization of Hyperparameters
81 stars 21 forks source link

Auto-save intermediate output if outfile supplied #32

Open MichaelChirico opened 6 years ago

MichaelChirico commented 6 years ago

Seems it'd be pretty easy to auto-fwrite DT_history after every iteration.

This is a great option for cases when R/machine may crash in the middle of a series of runs, or the verbose output is deleted. Using the output file as init_grid_dt upon re-starting R saves the time/effort put in to determining the Value column for a sequence of runs in advance.