停止條件
在隨機搜尋中,你也可以定義停止條件(stopping criteria),而不是只設定最長執行時間。
h2o 套件與 seeds_train_data 都已為你載入並初始化。
本練習屬於課程
R 的超參數調校
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Define early stopping
stopping_params <- list(strategy = "RandomDiscrete",
stopping_metric = ___,
seed = 42)