Skip to content

Instantly share code, notes, and snippets.

@fdavidcl
Created September 30, 2015 18:23
Show Gist options
  • Save fdavidcl/bf611142081ccdfac1e0 to your computer and use it in GitHub Desktop.
Save fdavidcl/bf611142081ccdfac1e0 to your computer and use it in GitHub Desktop.
Rebuild mldr datasets
emotions <- mldr_from_dataframe(mldr::emotions$dataset, mldr::emotions$labels$index, "emotions")
birds <- mldr_from_dataframe(mldr::birds$dataset, mldr::birds$labels$index, "birds")
genbase <- mldr_from_dataframe(mldr::genbase$dataset, mldr::genbase$labels$index, "genbase")
save(emotions, file = "emotions.rda", compress = "xz")
save(birds, file = "birds.rda", compress = "xz")
save(genbase, file = "genbase.rda", compress = "xz")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment