Wednesday, April 8, 2020

R and Weka and Arff

Some handy little R code if you are wanting to convert a csv to arff, but may be running into some encoding issues (looking at you crowdflower corportate messaging dataset).

Simple and to the point.
Subsetted to remove the "Exclude" category and reset the factor (so Weka won't see it as an empty set).

Hope it helps!



No comments:

Post a Comment