Returns a character vector of algorithm names available for either classification or regression tasks.
availableMethods(type = c("classification", "regression"), ...)
A character vector containing the names of the available algorithms for the specified task type.
A character string specifying the type of task. Must be either "classification"
or "regression"
. Defaults to c("classification", "regression")
and uses match.arg
to select one.
Additional arguments (currently not used).
Depending on the specified type
, the function returns a different set of algorithm names:
For "classification"
, it returns algorithms such as "logistic_reg"
, "multinom_reg"
, "decision_tree"
, "C5_rules"
, "rand_forest"
, "xgboost"
, "lightgbm"
, "svm_linear"
, "svm_rbf"
, "nearest_neighbor"
, "naive_Bayes"
, "mlp"
, "discrim_linear"
, "discrim_quad"
, and "bag_tree"
.
For "regression"
, it returns algorithms such as "linear_reg"
, "ridge_regression"
, "lasso_regression"
, "elastic_net"
, "decision_tree"
, "rand_forest"
, "xgboost"
, "lightgbm"
, "svm_linear"
, "svm_rbf"
, "nearest_neighbor"
, "mlp"
, "pls"
, and "bayes_glm"
.