fastml install options:
โ
Stable release from CRAN
๐งช Development version from GitHub
install.packages("fastml")
# or
remotes::install_github("selcukorkmaz/fastml")
github.com/selcukorkmaz...
@rfastmlpackage.bsky.social
Automated #MachineLearning for #Rstats, done right. Leakage-proof, interpretable, and survival-aware. Tutorial: https://selcukorkmaz.github.io/fastml-tutorial/
fastml install options:
โ
Stable release from CRAN
๐งช Development version from GitHub
install.packages("fastml")
# or
remotes::install_github("selcukorkmaz/fastml")
github.com/selcukorkmaz...
New in fastml v0.7.7 โ
The BreastCancer example now prints two tables:
Table 1 selects the best model via CV ROC AUC (meanยฑSD).
Table 2 reports full test-set metrics for all models (accuracy, F1, ROC AUC, logloss, Brier, ECE).
fastml 0.7.7 is now on CRAN!
New: Feature Importance Stability Analysis - see which predictors are consistently important across CV folds vs. those that vary
Also: Enhanced explainability infrastructure, improved CV metrics aggregation & bug fixes
cran.r-project.org/web/packages...
๐ fastml 0.7.6 has landed on CRAN!
We've upgraded Guarded Resampling to strictly prevent data leakage, ensuring your validation scores are real, not optimistic hallucinations.
Get it now: install.packages("fastml")
#rstats #datascience
cran.r-project.org/web/packages...
fastml: Leakage-proof AutoML for R with stronger guaranteesโguarded resampling (preprocessing re-fit per fold), native survival models (Penalized Cox, XGBoost AFT), single-call multi-model benchmarking, reproducibility capsule, and multiple built-in explainability methods.
github.com/selcukorkmaz...
fastml: Leakage-proof AutoML for R with stronger guaranteesโguarded resampling (preprocessing re-fit per fold), native survival models (Penalized Cox, XGBoost AFT), single-call multi-model benchmarking, reproducibility capsule, and multiple built-in explainability methods.
github.com/selcukorkmaz...
Introducing fastml for R! ๐
๐ก๏ธ Guarded Resampling: Prevents data leakage by design.
๐ฒ Native Survival: Custom XGBoost AFT & Piecewise engines that outperform baselines.
๐ Security Sandbox: Safe execution for user-defined recipes.
Build robust models in one line of code. #rstats #automl #datascience
Introducing fastml for R! ๐
๐ก๏ธ Guarded Resampling: Prevents data leakage by design.
๐ฒ Native Survival: Custom XGBoost AFT & Piecewise engines that outperform baselines.
๐ Security Sandbox: Safe execution for user-defined recipes.
Build robust models in one line of code. #rstats #automl #datascience
๐ Tired of writing 200 lines of code just to train and tune models in R? Meet fastml.
fastml takes data from raw form to tuned models with explainability in a single function call.
Here is a thread on solving Customer Churn in <10 lines of code. ๐งต๐
#rstats #datascience
github.com/selcukorkmaz...
fastml bridges the gap between "AutoML" and "Rigorous Statistics."
It enforces safety guards against data leakage while giving you the speed of modern ML.
๐ฆ Try it out development version: devtools::install_github("selcukorkmaz/fastml@devel")
5๏ธโฃ The Solution (Counterfactuals)
"What if we offered Customer 56 a 1-year contract?"
Using fastexplain(
model_results,
method = "counterfactual",
observation = risky_customer
)
Moving from "Month-to-Month" to "One Year" drops their churn risk from ~76% to ~26%.
4๏ธโฃ The "Why" (Local)
Let's look at Customer 56. They have a 76% probability of churning. Why?
Using
fastexplain(
model_results,
method = "breakdown",
observation = risky_customer),
we see the additive drivers: ๐ด Fiber Optic Internet (+10.8%) ๐ด Low Tenure (+13.4%)
The "Why" (Global)
We canโt trust a black box. Running fastexplain(model_results, method = "dalex") reveals the drivers across the whole company.
๐ Tenure and Contract Type are the biggest predictors of churn.
2๏ธโฃ The Leaderboard
Who won? Surprisingly, Logistic Regression took the crown ๐ with an AUC of 0.846, beating Random Forest and XGBoost.
summary(model_results) gives you metrics, formatted and ready for reporting and plot(model_results, type = "roc") visualizes ROC curves.
1๏ธโฃ The One-Liner
We pass the raw wa_churn dataset to fastml().
It automatically: โ
Handles missing values (medianImpute) โ
Encodes categoricals โ
Splits data โ
Runs Bayesian Optimization on XGBoost, RF, and LogReg.
No recipes. No boilerplate. Just results. โก๏ธ
๐ Tired of writing 200 lines of code just to train and tune models in R? Meet fastml.
fastml takes data from raw form to tuned models with explainability in a single function call.
Here is a thread on solving Customer Churn in <10 lines of code. ๐งต๐
#rstats #datascience
github.com/selcukorkmaz...
fastml brings a unified machine-learning workflow to R.
โข Automated model training and tuning
โข Leakage-safe resampling by design
โข Built-in survival analysis
โข Integrated explainability
A streamlined way to build reliable models with minimal code.
#rstats #machinelearning #datascience
fastml brings a unified machine-learning workflow to R.
โข Automated model training and tuning
โข Leakage-safe resampling by design
โข Built-in survival analysis
โข Integrated explainability
A streamlined way to build reliable models with minimal code.
#rstats #machinelearning #datascience
๐ Stop writing hundreds of lines of boilerplate code for Machine Learning in R.
If youโve used tidymodels or mlr3, you know the workflow can become verbose: recipes, encoders, CV folds, tuning grids, leakage risksโฆ
fastml aims to solve this.
cran.r-project.org/web/packages...