Package: tidylearn 0.7.0.9000

Cesaire Tobias

tidylearn: A Unified Tidy Interface to R's Machine Learning Ecosystem

Provides a unified tidyverse-compatible interface to R's machine learning ecosystem - from data ingestion to model publishing. The tl_read() family reads data from files ('CSV', 'Excel', 'Parquet', 'JSON'), databases ('SQLite', 'PostgreSQL', 'MySQL', 'BigQuery'), and cloud sources ('S3', 'GitHub', 'Kaggle'). The tl_model() function wraps established implementations from 'glmnet', 'randomForest', 'xgboost', 'e1071', 'rpart', 'gbm', 'nnet', 'cluster', 'dbscan', and others with consistent function signatures and tidy tibble output. Results flow into unified 'ggplot2'-based visualization and optional formatted 'gt' tables via the tl_table() family. The underlying algorithms are unchanged; 'tidylearn' simply makes them easier to use together. Access raw model objects via the $fit slot for a supervised method, or $fit$model for an unsupervised one. Methods include random forests Breiman (2001) <doi:10.1023/A:1010933404324>, LASSO regression Tibshirani (1996) <doi:10.1111/j.2517-6161.1996.tb02080.x>, elastic net Zou and Hastie (2005) <doi:10.1111/j.1467-9868.2005.00503.x>, support vector machines Cortes and Vapnik (1995) <doi:10.1007/BF00994018>, and gradient boosting Friedman (2001) <doi:10.1214/aos/1013203451>.

Authors:Cesaire Tobias [aut, cre]

tidylearn_0.7.0.9000.tar.gz
tidylearn_0.7.0.9000.zip(r-4.7-any)tidylearn_0.7.0.9000.zip(r-4.6-any)tidylearn_0.7.0.9000.zip(r-4.5-any)
tidylearn_0.7.0.9000.tgz(r-4.6-any)tidylearn_0.7.0.9000.tgz(r-4.5-any)
tidylearn_0.7.0.9000.tar.gz(r-4.7-any)tidylearn_0.7.0.9000.tar.gz(r-4.6-any)
tidylearn_0.7.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
tidylearn/json (API)

# Install 'tidylearn' in R:
install.packages('tidylearn', repos = c('https://ces0491.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ces0491/tidylearn/issues

Pkgdown/docs site:https://tidylearn.sheetsolved.com

On CRAN:

Conda:

6.69 score 5 stars 439 downloads 157 exports 135 dependencies

Last updated from:34e6284220. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK315
source / vignettesOK373
linux-releaseOK345
macos-releaseOK347
macos-oldrelOK374
windows-develOK188
windows-releaseOK297
windows-oldrelOK222
wasm-releaseOK194

Exports:%>%augment_dbscanaugment_hclustaugment_kmeansaugment_pamaugment_pcacalc_validation_metricscalc_wsscompare_clusteringscompare_distancescreate_cluster_dashboardexplore_dbscan_paramsfilter_rules_by_itemfind_related_itemsget_pca_loadingsget_pca_varianceinspect_rulesoptimal_clustersoptimal_hclust_kplot_cluster_comparisonplot_cluster_sizesplot_clustersplot_dendrogramplot_distance_heatmapplot_elbowplot_gap_statplot_knn_distplot_mdsplot_silhouetteplot_variance_explainedrecommend_productsstandardize_datasuggest_epssummarize_rulestidy_aprioritidy_claratidy_cutreetidy_dbscantidy_dendrogramtidy_disttidy_gap_stattidy_gowertidy_hclusttidy_kmeanstidy_knn_disttidy_mdstidy_mds_classicaltidy_mds_kruskaltidy_mds_sammontidy_mds_smacoftidy_pamtidy_pcatidy_pca_biplottidy_pca_screeplottidy_rulestidy_silhouettetidy_silhouette_analysistl_add_cluster_featurestl_anomaly_awaretl_auto_interactionstl_auto_mltl_calc_classification_metricstl_check_assumptionstl_check_gputl_cloud_allow_hosttl_cloud_allowed_hoststl_cloud_consenttl_cloud_jobstl_coefficientstl_compare_cvtl_compare_pipeline_modelstl_compute_advisortl_cvtl_dashboardtl_default_param_gridtl_detect_outlierstl_diagnostic_dashboardtl_evaluatetl_exploretl_get_best_modeltl_influence_measurestl_interaction_effectstl_load_pipelinetl_modeltl_pipelinetl_plot_cv_comparisontl_plot_cv_resultstl_plot_deep_architecturetl_plot_deep_historytl_plot_gaintl_plot_importance_comparisontl_plot_importance_regularizedtl_plot_influencetl_plot_interactiontl_plot_intervalstl_plot_lifttl_plot_model_comparisontl_plot_nn_architecturetl_plot_nn_tuningtl_plot_partial_dependencetl_plot_regularization_cvtl_plot_regularization_pathtl_plot_svm_boundarytl_plot_svm_tuningtl_plot_treetl_plot_tuning_resultstl_plot_xgboost_importancetl_plot_xgboost_shap_dependencetl_plot_xgboost_shap_summarytl_plot_xgboost_treetl_predict_pipelinetl_prepare_datatl_readtl_read_bigquerytl_read_csvtl_read_dbtl_read_dirtl_read_exceltl_read_githubtl_read_jsontl_read_kaggletl_read_mysqltl_read_parquettl_read_postgrestl_read_rdatatl_read_rdstl_read_s3tl_read_sqlitetl_read_tsvtl_read_ziptl_reduce_dimensionstl_run_pipelinetl_save_pipelinetl_semisupervisedtl_splittl_step_selectiontl_stratified_modelstl_tabletl_table_clusterstl_table_coefficientstl_table_comparisontl_table_confusiontl_table_importancetl_table_loadingstl_table_metricstl_table_variancetl_test_interactionstl_test_model_differencetl_transfer_learningtl_tune_deeptl_tune_gridtl_tune_nntl_tune_randomtl_tune_xgboosttl_versiontl_xgboost_shapvisualize_rules

Dependencies:backportsbase64encbitbit64bitopsbootbroombslibcachemcaToolscheckmateclassclicliprclustercodetoolscolorspacecpp11crayondata.tabledbscandigestdoParalleldplyre1071ellipseevaluatefarverfastmapfontawesomeforcatsforeachforeignFormulafsfurrrfuturegbmgdatagenericsggplot2glmnetglobalsgluegplotsgridExtragtablegtoolshardhathavenhighrHmischmshtmlTablehtmltoolshtmlwidgetsisobanditeratorsjomojquerylibjsonliteKernSmoothknitrlabelinglatticelifecyclelistenvlme4magrittrMASSMatrixmemoisemicemimeminqamitmlnlmenloptrnnetnnlsnumDerivordinalpanparallellypillarpkgconfigplotrixpolynomprettyunitsprogressproxypurrrR6randomForestrappdirsrbibutilsRColorBrewerRcppRcppEigenRdpackreadrreformulasrlangrmarkdownROCRrpartrsamplerstudioapiS7sassscalesshapeslidersmacofsparsevctrsstringistringrsurvivaltibbletidyrtidyselecttinytextzdbucminfutf8vctrsviridisLitevroomwarpweightswithrwordcloudxfunyamlyardstick

Automated Machine Learning with tidylearn
Introduction | A First Run | How the Search Works | The evaluation column | The Time Budget | Controlling the Search | Using the Result | AutoML Against a Single Choice | Preprocessing First | When a Model Is Missing or Scores NA | AutoML or Tuning? | Guidance | Where to Go Next

Last update: 2026-11-02
Started: 2025-11-10

Compute Backends: CPU, GPU and Cloud
Where a fit runs | What this machine can do | Only two methods have a GPU path | Estimating before you commit | Cloud compute | Consent is explicit | Destinations are checked | Bounding the cost | The contract is written down | What is coming | See also

Last update: 2026-11-02
Started: 2026-08-21

Diagnostics
Overview | Checking Assumptions | The dashboard | Influence | Refit without the influential rows | Outliers in the Data | Comparing Models | Is the difference real? | Interactions | Reading an interaction | Exploring Before Modelling | A Checklist

Last update: 2026-11-02
Started: 2026-08-21

Getting Started with tidylearn
Introduction | Installation | The Unified Interface | Supervised Learning | Classification | Regression | Unsupervised Learning | Dimensionality Reduction | Clustering | Data Preprocessing | Train-Test Splitting | Wrapped Packages | Supervised Methods | Unsupervised Methods | Accessing the Underlying Model | The Whole Workflow | Next Steps

Last update: 2026-11-02
Started: 2025-11-10

Market Basket Analysis
Overview | Mining Rules | Choosing the thresholds | Reading the Rules | Working With One Item | Recommending From a Basket | Visualising | From a Data Frame | What the Numbers Do Not Tell You | Function Reference

Last update: 2026-11-02
Started: 2026-08-21

Tuning and Pipelines
Overview | Grid Search | Choosing the metric | Starting from a default grid | Random Search | Looking at the Search | Pipelines | Running it | Predicting through the pipeline | Saving and reloading | Tuning into a Pipeline | Cost | Where to Go Next

Last update: 2026-11-02
Started: 2026-08-21

Unsupervised Learning with tidylearn
Two Ways In | Scale First | Principal Component Analysis | Scores back on the data | How Many Clusters? | K-means | Was it a good clustering? | PAM and CLARA | Hierarchical Clustering | DBSCAN | Multidimensional Scaling | Comparing Clusterings | A Worked Sequence | Function Reference

Last update: 2026-11-02
Started: 2025-11-10

Reporting with tidylearn
Overview | Plots | Regression | Classification | PCA | Regularisation | Tables | Evaluation Metrics | Coefficients | Confusion Matrix | Feature Importance | PCA Variance Explained | PCA Loadings | Cluster Summary | Model Comparison | Interactive Reporting with plotly | Putting It Together

Last update: 2026-10-08
Started: 2026-03-18

Supervised Learning with tidylearn
Introduction | Classification | Binary Classification | Logistic Regression | Decision Trees | Multi-class Classification | Random Forest | Support Vector Machines | Regression | Linear Regression | Polynomial Regression | Random Forest Regression | Regularized Regression | Ridge Regression | LASSO | Elastic Net | Model Comparison | Advanced Features | Using Preprocessed Data | Formula Variations | Handling Different Data Types | Categorical Predictors | Missing Values | Best Practices | Replaying Preprocessing on the Test Set

Last update: 2026-10-08
Started: 2025-11-10

Data Ingestion with tidylearn
Overview | The tl_read() Dispatcher | File Formats | CSV and TSV | Excel | Parquet | JSON | RDS and RData | Databases | SQLite | Using a Live Connection | PostgreSQL, MySQL, and BigQuery | Cloud and API Sources | Amazon S3 | GitHub | Kaggle | Multi-File Reading | Multiple Paths | Directory Scanning | Zip Archives | The tidylearn_data Class | Full Pipeline | Supported Formats Reference

Last update: 2026-09-14
Started: 2026-03-18

Integration Workflows: Combining Supervised and Unsupervised Learning
Introduction | Dimensionality Reduction as Preprocessing | Basic Usage | Comparison: Original vs Reduced Features | Cluster-Based Feature Engineering | Adding Cluster Features | Performance Comparison | Semi-Supervised Learning | Training with Limited Labels | Comparison: Semi-Supervised vs Fully Supervised | Anomaly-Aware Modeling | Flagging Anomalies | Removing Anomalies | Stratified Models | Training Stratified Models | Complete Integration Workflow | Practical Example: Credit Risk Assessment | What Each Combination Buys You | Function Reference | Where to Go Next

Last update: 2026-09-14
Started: 2025-11-10

Readme and manuals

Help Manual

Help pageTopics
Augment Data with DBSCAN Cluster Assignmentsaugment_dbscan
Augment Data with Hierarchical Cluster Assignmentsaugment_hclust
Augment Data with K-Means Cluster Assignmentsaugment_kmeans
Augment Data with PAM Cluster Assignmentsaugment_pam
Augment Original Data with PCA Scoresaugment_pca
Calculate Cluster Validation Metricscalc_validation_metrics
Calculate Within-Cluster Sum of Squares for Different kcalc_wss
Compare Multiple Clustering Resultscompare_clusterings
Compare Distance Methodscompare_distances
Create Summary Dashboardcreate_cluster_dashboard
Explore DBSCAN Parametersexplore_dbscan_params
Filter Rules by Itemfilter_rules_by_item
Find Related Itemsfind_related_items
Get PCA Loadings in Wide Formatget_pca_loadings
Get Variance Explained Summaryget_pca_variance
Inspect Association Rulesinspect_rules
Find Optimal Number of Clustersoptimal_clusters
Determine Optimal Number of Clusters for Hierarchical Clusteringoptimal_hclust_k
Create Cluster Comparison Plotplot_cluster_comparison
Plot Cluster Size Distributionplot_cluster_sizes
Plot Clusters in 2D Spaceplot_clusters
Plot Dendrogram with Cluster Highlightsplot_dendrogram
Create Distance Heatmapplot_distance_heatmap
Create Elbow Plot for K-Meansplot_elbow
Plot Gap Statisticplot_gap_stat
Plot k-NN Distance Plotplot_knn_dist
Plot MDS Configurationplot_mds
Plot Silhouette Analysisplot_silhouette
Plot Variance Explained (PCA)plot_variance_explained
Plot EDA resultsplot.tidylearn_eda
Plot method for tidylearn modelsplot.tidylearn_model
Predict using a tidylearn modelpredict.tidylearn_model
Predict from stratified modelspredict.tidylearn_stratified
Predict with transfer learning modelpredict.tidylearn_transfer
Print Method for tidy_aprioriprint.tidy_apriori
Print Method for tidy_dbscanprint.tidy_dbscan
Print Method for tidy_gapprint.tidy_gap
Print Method for tidy_hclustprint.tidy_hclust
Print Method for tidy_kmeansprint.tidy_kmeans
Print Method for tidy_mdsprint.tidy_mds
Print Method for tidy_pamprint.tidy_pam
Print Method for tidy_pcaprint.tidy_pca
Print Method for tidy_silhouetteprint.tidy_silhouette
Print auto ML resultsprint.tidylearn_automl
Print method for 'tidylearn_compute_advice' objectsprint.tidylearn_compute_advice
Print a tidylearn_data objectprint.tidylearn_data
Print EDA resultsprint.tidylearn_eda
Print method for 'tidylearn_gpu_check' objectsprint.tidylearn_gpu_check
Print method for tidylearn modelsprint.tidylearn_model
Print a tidylearn pipelineprint.tidylearn_pipeline
Generate Product Recommendationsrecommend_products
Standardize Datastandardize_data
Suggest eps Parameter for DBSCANsuggest_eps
Summarize Association Rulessummarize_rules
Summary method for tidylearn modelssummary.tidylearn_model
Summarize a tidylearn pipelinesummary.tidylearn_pipeline
Tidy Apriori Algorithmtidy_apriori
Tidy CLARA (Clustering Large Applications)tidy_clara
Cut Hierarchical Clustering Treetidy_cutree
Tidy DBSCAN Clusteringtidy_dbscan
Plot Dendrogramtidy_dendrogram
Tidy Distance Matrix Computationtidy_dist
Tidy Gap Statistictidy_gap_stat
Gower Distance Calculationtidy_gower
Tidy Hierarchical Clusteringtidy_hclust
Tidy K-Means Clusteringtidy_kmeans
Compute k-NN Distancestidy_knn_dist
Tidy Multidimensional Scalingtidy_mds
Classical (Metric) MDStidy_mds_classical
Kruskal's Non-metric MDStidy_mds_kruskal
Sammon Mappingtidy_mds_sammon
SMACOF MDS (Metric or Non-metric)tidy_mds_smacof
Tidy PAM (Partitioning Around Medoids)tidy_pam
Tidy Principal Component Analysistidy_pca
Create PCA Biplottidy_pca_biplot
Create PCA Scree Plottidy_pca_screeplot
Convert Association Rules to Tidy Tibbletidy_rules
Tidy Silhouette Analysistidy_silhouette
Silhouette Analysis Across Multiple k Valuestidy_silhouette_analysis
Classification Functions for tidylearntidylearn-classification
Cloud data-egress consent for tidylearntidylearn-cloud-consent
Cost controls for tidylearn cloud computetidylearn-cloud-cost
Cloud endpoint resolution for tidylearntidylearn-cloud-endpoint
Model serialisation for tidylearn cloud computetidylearn-cloud-serialize
Coefficient Inference for tidylearntidylearn-coefficients
tidylearn: A Unified Tidy Interface to R's Machine Learning Ecosystemtidylearn-core
Deep Learning for tidylearntidylearn-deep-learning
Advanced Diagnostics Functions for tidylearntidylearn-diagnostics
Interaction Analysis Functions for tidylearntidylearn-interactions
Metrics Functionality for tidylearntidylearn-metrics
Model Selection Functions for tidylearntidylearn-model-selection
Neural Networks for tidylearntidylearn-neural-networks
Model Pipeline Functions for tidylearntidylearn-pipeline
Data Reading Functions for tidylearntidylearn-read
Data Reading Backends for tidylearntidylearn-read-backends
Regression Functions for tidylearntidylearn-regression
Regularization Functions for tidylearntidylearn-regularization
Support Vector Machines for tidylearntidylearn-svm
Table Functions for tidylearntidylearn-tables
Tree-based Methods for tidylearntidylearn-trees
Hyperparameter Tuning Functions for tidylearntidylearn-tuning
Visualization Functions for tidylearntidylearn-visualization
High-Level Workflows for Common Machine Learning Patternstidylearn-workflows
XGBoost Functions for tidylearntidylearn-xgboost
Cluster-Based Featurestl_add_cluster_features
Anomaly-Aware Supervised Learningtl_anomaly_aware
Find important interactions automaticallytl_auto_interactions
Auto ML: Automated Machine Learning Workflowtl_auto_ml
Calculate classification metricstl_calc_classification_metrics
Check model assumptionstl_check_assumptions
Detect local GPU availability for tidylearn methodstl_check_gpu
Allow an additional host for cloud uploads in this R sessiontl_cloud_allow_host
Hosts tidylearn will currently upload totl_cloud_allowed_hosts
Grant or revoke cloud upload consent for this R sessiontl_cloud_consent
Cloud jobs submitted in this R sessiontl_cloud_jobs
Model coefficients as a tibbletl_coefficients
Compare models using cross-validationtl_compare_cv
Compare models from a pipelinetl_compare_pipeline_models
Advise on the best compute tier for a tidylearn fittl_compute_advisor tl_compute_advisor.character tl_compute_advisor.default tl_compute_advisor.tidylearn_supervised
Cross-validation for tidylearn modelstl_cv
Create interactive visualization dashboard for a modeltl_dashboard
Create pre-defined parameter grids for common modelstl_default_param_grid
Detect outliers in the datatl_detect_outliers
Create a diagnostic dashboardtl_diagnostic_dashboard
Evaluate a tidylearn modeltl_evaluate
Exploratory Data Analysis Workflowtl_explore
Get the best model from a pipelinetl_get_best_model
Calculate influence measures for a linear modeltl_influence_measures
Calculate partial effects based on a model with interactionstl_interaction_effects
Load a pipeline from disktl_load_pipeline
Create a tidylearn modeltl_model
Create a modeling pipelinetl_pipeline
Plot comparison of cross-validation resultstl_plot_cv_comparison
Plot cross-validation resultstl_plot_cv_results
Plot deep learning model architecturetl_plot_deep_architecture
Plot deep learning model training historytl_plot_deep_history
Plot gain chart for a classification modeltl_plot_gain
Plot feature importance across multiple modelstl_plot_importance_comparison
Plot variable importance for a regularized modeltl_plot_importance_regularized
Plot influence diagnosticstl_plot_influence
Plot interaction effectstl_plot_interaction
Create confidence and prediction interval plotstl_plot_intervals
Plot lift chart for a classification modeltl_plot_lift
Plot model comparisontl_plot_model_comparison
Plot neural network architecturetl_plot_nn_architecture
Plot a neural network tuning gridtl_plot_nn_tuning
Plot partial dependence for tree-based modelstl_plot_partial_dependence
Plot cross-validation results for a regularized modeltl_plot_regularization_cv
Plot regularization path for a regularized modeltl_plot_regularization_path
Plot SVM decision boundarytl_plot_svm_boundary
Plot SVM tuning resultstl_plot_svm_tuning
Plot a decision treetl_plot_tree
Plot hyperparameter tuning resultstl_plot_tuning_results
Plot feature importance for an XGBoost modeltl_plot_xgboost_importance
Plot SHAP dependence for a specific featuretl_plot_xgboost_shap_dependence
Plot SHAP summary for XGBoost modeltl_plot_xgboost_shap_summary
Plot XGBoost tree visualizationtl_plot_xgboost_tree
Make predictions using a pipelinetl_predict_pipeline
Data Preprocessing for tidylearntl_prepare_data
Read data from diverse sourcestl_read
Read from Google BigQuerytl_read_bigquery
Read a CSV filetl_read_csv
Read from a DBI database connectiontl_read_db
Read all matching files from a directorytl_read_dir
Read an Excel filetl_read_excel
Read from GitHubtl_read_github
Read a JSON filetl_read_json
Read from Kaggletl_read_kaggle
Read from a MySQL/MariaDB databasetl_read_mysql
Read a Parquet filetl_read_parquet
Read from a PostgreSQL databasetl_read_postgres
Read an RData filetl_read_rdata
Read an RDS filetl_read_rds
Read from Amazon S3tl_read_s3
Read from a SQLite databasetl_read_sqlite
Read a TSV filetl_read_tsv
Read data from a zip archivetl_read_zip
Feature Engineering via Dimensionality Reductiontl_reduce_dimensions
Run a tidylearn pipelinetl_run_pipeline
Save a pipeline to disktl_save_pipeline
Semi-Supervised Learning via Clusteringtl_semisupervised
Split data into train and test setstl_split
Perform stepwise selection on a linear modeltl_step_selection
Stratified Features via Clusteringtl_stratified_models
Create formatted tables for tidylearn modelstl_table
Formatted cluster summary tabletl_table_clusters
Formatted model coefficients tabletl_table_coefficients
Compare multiple models in a formatted tabletl_table_comparison
Formatted confusion matrix tabletl_table_confusion
Formatted feature importance tabletl_table_importance
Formatted PCA loadings tabletl_table_loadings
Formatted evaluation metrics tabletl_table_metrics
Formatted PCA variance explained tabletl_table_variance
Test for significant interactions between variablestl_test_interactions
Perform statistical comparison of models using cross-validationtl_test_model_difference
Transfer Learning Workflowtl_transfer_learning
Tune a deep learning modeltl_tune_deep
Tune hyperparameters for a model using grid searchtl_tune_grid
Tune a neural network modeltl_tune_nn
Tune hyperparameters using random searchtl_tune_random
Tune XGBoost hyperparameterstl_tune_xgboost
Get tidylearn version informationtl_version
Generate SHAP values for XGBoost model interpretationtl_xgboost_shap
Visualize Association Rulesvisualize_rules