Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1.78 KB

README.md

File metadata and controls

30 lines (17 loc) · 1.78 KB

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 [email protected].