powered by
Generate the tuning grid for tuning hyperparameters
get_tuning_grid(hyperparams_list, method)
The tuning grid.
Named list of lists of hyperparameters.
ML method. Options: c("glmnet", "rf", "rpart2", "svmRadial", "xgbTree").
c("glmnet", "rf", "rpart2", "svmRadial", "xgbTree")
glmnet: linear, logistic, or multiclass regression
rf: random forest
rpart2: decision tree
svmRadial: support vector machine
xgbTree: xgboost
Begüm Topçuoğlu, topcuoglu.begum@gmail.com
Kelly Sovacool, sovacool@umich.edu
ml_method <- "glmnet" hparams_list <- get_hyperparams_list(otu_small, ml_method) get_tuning_grid(hparams_list, ml_method)
Run the code above in your browser using DataLab