Skip to content

topepo/user2018

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

user2018

If you need to use a remote version of R to run the code, go to:

http://colorado.rstudio.com/rsc/classroom-assignment/

If you require a server instance, please let us know before going here. We will have to assign you an ID.

Slides and code for the 2018 useR! tutorial "Recipes for Data Processing" on Tuesday July 10th at 1:30:

R has an excellent framework for specifying models using formulas. While elegant and useful, it was designed in a time when models had small numbers of terms and complex preprocessing of data was not commonplace. As such, it has some limitations. In this tutorial, a new package called recipes is shown where the specification of model terms and preprocessing steps can be enumerated sequentially. The recipe can be estimated and applied to any dataset. Current options include simple transformations (log, Box-Cox, interactions, dummy variables, ...), signal extraction (PCA, PLS, ICA, MDS, ...), basis functions (splines, polynomials, ...), imputation methods, and others. An example is used to demonstrate the functionality.

The audience should include people who do feature engineering or need to include preprocessing with their models. From a technical standpoint, some experience in modeling and R is a good idea. Basic tidyverse syntax will be reviewed.

The materials will be added a few days before the tutorial. To install the required packages:

install.packages(
  c('AmesHousing', 'broom', 'kknn', 'recipes', 'rsample', 'tidyverse', 'yardstick'), 
  repos = "http://cran.r-project.org"
)

# and optionally

install.packages('caret', repos = "http://cran.r-project.org")

If you have trouble with any of these, email me at max@rstudio.com.

About

Slides and code for the 2018 useR! tutorial "Recipes for Data Processing"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published