README.md

easytidymodels

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.

Installation

You can install easytidymodels like this:

# install.packages("devtools")
devtools::install_github("amanda-park/easytidymodels")

Preparing Data for Analysis

There are three main functions to prepare your data for analysis:

Classification Functions

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 $):

Regression Functions

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 $):



amanda-park/easytidymodels documentation built on Dec. 13, 2021, 11:28 a.m.