John Mount has an example of using the
vtreat package for multi-class classification in R:
vtreatis a powerful
Rpackage for preparing messy real-world data for machine learning. We have further extended the package with a number of features including rquery/rqdatatable integration (allowing vtreat application at scale on Apache Spark or data.table!).
vtreatand can now effectively prepare data for multi-class classification or multinomial modeling.
The two functions needed (
prepare.multinomial_plan()) are now part of
Click through for an example of this in action.