| tl_auto_ml | R Documentation |
These functions provide end-to-end workflows that showcase tidylearn's ability to seamlessly combine multiple learning paradigms Auto ML: Automated Machine Learning Workflow
tl_auto_ml(
data,
formula,
task = "auto",
use_reduction = TRUE,
use_clustering = TRUE,
time_budget = 300,
cv_folds = 5,
metric = NULL
)
data |
A data frame |
formula |
Model formula (for supervised learning) |
task |
Task type: "classification", "regression", or "auto" (default) |
use_reduction |
Whether to try dimensionality reduction (default: TRUE) |
use_clustering |
Whether to add cluster features (default: TRUE) |
time_budget |
Time budget in seconds (default: 300) |
cv_folds |
Number of cross-validation folds (default: 5) |
metric |
Evaluation metric (default: auto-selected based on task) |
Automatically explores multiple modeling approaches including dimensionality reduction, clustering, and various supervised methods. Returns the best performing model based on cross-validation.
Best model with performance comparison
# Automated modeling
result <- tl_auto_ml(iris, Species ~ .)
best_model <- result$best_model
result$leaderboard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.