John Mount has an example of using the vtreat package for multi-class classification in R:
vtreatis a powerfulRpackage 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!).In addition
vtreatand can now effectively prepare data for multi-class classification or multinomial modeling.The two functions needed (
mkCrossFrameMExperiment()and theS3methodprepare.multinomial_plan()) are now part ofvtreat.
Click through for an example of this in action.