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