Randy Zwitch 1/2/2014

Quickly Create Dummy Variables in a Data Frame

Read Original

This technical article explains how to create dummy variables manually in R, providing a code solution to the common error where the randomForest package cannot handle categorical variables with more than 32 levels. It discusses the trade-offs and considerations, such as RAM usage, when implementing this approach for data preprocessing.

Quickly Create Dummy Variables in a Data Frame

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser