The tidymodels framework in R is a collection of packages for modeling.
Within tidymodels, the parsnip package is primarily responsible for specifying models in a way that is independent of the underlying modeling engines. The set_engine() function in parsnip allows users to specify which computational engine to use for modeling, enabling the same model specification to be used across different packages and implementations.
In this blog series, we will look at some commonly used models and engines within the tidymodels package
- Linear Regression (
lm): The classic linear regression model, with the default engine beingstats, referring to the base Rstatspackage. - Logistic Regression (
logistic_reg): Used for binary classification problems, with engines likestatsfor the base R implementation andglmnetfor regularized regression. - Random Forest (
rand_forest): A popular ensemble method for classification and regression tasks, with engines likerangerandrandomForest. - Boosted Trees (
boost_tree): Used for boosting tasks, with engines such asxgboost,lightgbm, andcatboost. - Decision Trees (
decision_tree): A base model for classification and regression, with engines likerpartandC5.0. - K-Nearest Neighbors (
nearest_neighbor): A simple yet effective non-parametric method, with engines likekknnandcaret. - Principal Component Analysis (
pca): For dimensionality reduction, with thestatsengine. - Lasso and Ridge Regression (
linear_reg): For regression with regularization, specifying thepenaltyparameter and using engines likeglmnet.
Click here for some resources I found:

