50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

fastml (version 0.5.0)

availableMethods: Get Available Methods

Description

Returns a character vector of algorithm names available for either classification or regression tasks.

Usage

availableMethods(type = c("classification", "regression"), ...)

Value

A character vector containing the names of the available algorithms for the specified task type.

Arguments

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).

Details

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".