# NOT RUN {
# For grid search:
data("example_ames_knn")
# Plot the tuning parameter values versus performance
autoplot(ames_grid_search, metric = "rmse")
# For iterative search:
# Plot the tuning parameter values versus performance
autoplot(ames_iter_search, metric = "rmse", type = "marginals")
# Plot tuning parameters versus iterations
autoplot(ames_iter_search, metric = "rmse", type = "parameters")
# Plot performance over iterations
autoplot(ames_iter_search, metric = "rmse", type = "performance")
# }
Run the code above in your browser using DataLab