
Set hyperparameters based on ML method and dataset characteristics
Source:R/hyperparameters.R
get_hyperparams_list.Rd
For more details see the vignette on hyperparameter tuning.
Arguments
- dataset
Data frame with an outcome variable and other columns as features.
- method
ML method. Options:
c("glmnet", "rf", "rpart2", "svmRadial", "xgbTree")
.glmnet: linear, logistic, or multiclass regression
rf: random forest
rpart2: decision tree
svmRadial: support vector machine
xgbTree: xgboost
Author
Kelly Sovacool, sovacool@umich.edu