cis-ds / course-site

Course site for Computing for Information Science (INFO 5940)
43 stars 41 forks source link

Encoding categorical variables for tree-based methods #107

Closed bensoltoff closed 5 years ago

bensoltoff commented 6 years ago

What is the best way to encode categorical variables for tree-based inference? See CART model estimated using caret and rpart. Can this still work with tree? Might need to revise cm012.

bensoltoff commented 6 years ago

Also consider using partykit to plot the resulting tree. Might be too confusing for this course though.