knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of easytidymodels is to make running analyses in R using the tidymodels framework both easier and more reproducible. This is a wrapper for the tidymodels packages so that, after your data pre-processing steps, it all runs in one line of code and automatically tunes all the hyperparameters that are offered.
If you are not familiar with tidymodels, I recommend learning more here or here.
For more details on how the functions work in this package, I recommend checking out the reference page, referencing the vignettes on this site, or calling help on the function of interest in R to learn more. Here I will just give a brief overview of the workflow of this package.
You can install easytidymodels like this:
# install.packages("devtools") devtools::install_github("amanda-park/easytidymodels")
There are three main functions to prepare your data for analysis:
The binary classification machine learning models available are as follows:
The multiclass classifications available are as follows:
Each of these models will tune the appropriate hyperparameters in the mode. However, these models allow for optimizing hyperparameters based on a specific evaluation metric. The list of metrics are as follows:
Save the model output to an object; the model will return the following in a list (can be accessed using $):
The regression functions available are as follows:
These models allow for optimizing hyperparameters based on a specific evaluation metric as well. The list of metrics are as follows:
Save the model output to an object; the model will return the following in a list (can be accessed using $):
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.