Grid search with h2o
Now that you successfully trained a Random Forest model with h2o, you can apply the same concepts to training all other algorithms, like Deep Learning. In this exercise, you are going to apply a grid search to tune a model.
Remember that gradient boosting models have the hyperparameter learn_rate whereas deep learning models have the rate hyperparameter.
The h2o library has already been loaded and initialized for you.
이 연습은 강의의 일부입니다
Hyperparameter Tuning in R
실습형 인터랙티브 연습
이 예제를 이 샘플 코드를 완성하여 풀어보세요.
# Define hyperparameters
dl_params <- ___(___ = c(0.001, 0.005, 0.01))