powered by
Check if the method is supported. If not, throws error.
check_method(method, 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
Dataframe of hyperparameters (default NULL; sensible defaults will be chosen automatically).
NULL
Kelly Sovacool, sovacool@umich.edu
if (FALSE) { check_method("rf") }
Run the code above in your browser using DataLab