powered by
Plot the Objective values vs Iterations
plot_objval_vs_iters(objval.vec, model, plots_dir)
the vector containing the objective values
the model name
the directory to save the generated plots
# NOT RUN { dir.create(file.path("pe_plots")) v <- 10*(rnorm(10000))^4 + 10 plot_objval_vs_iters(objval.vec=v, model="model", plots_dir="pe_plots") # }
Run the code above in your browser using DataLab