使用 mlr 進行隨機搜尋(Random Search)
現在,你要進行以隨機搜尋進行超參數調整。你會先準備在下一個練習中調整模型所需要的各種函式與物件。
knowledge_train_data 資料集已為你載入,套件 mlr、tidyverse 和 tictoc 也已載入。
如果不確定學習器的名稱,請查看能列出所有學習器的函式說明。
本練習屬於課程
R 的超參數調校
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Get the parameter set for neural networks of the nnet package
___("classif.nnet")