ClimbsRocks / machineJS

[UNMAINTAINED] Automated machine learning- just give it a data file! Check out the production-ready version of this project at ClimbsRocks/auto_ml
https://github.com/ClimbsRocks/auto_ml
408 stars 64 forks source link

give the user the option of returning a multi-category matrix, not just a single column #142

Closed ClimbsRocks closed 8 years ago

ClimbsRocks commented 8 years ago

sometimes we want a single column with all the possible categories in it, as our output.

other times, we want each category to be it's own binary column.

currently, we're only outputting a single column.

give the user the option to output the binary column matrix.

ClimbsRocks commented 8 years ago

we can use pands.get_dummies() for this: http://pandas.pydata.org/pandas-docs/version/0.13.1/generated/pandas.get_dummies.html

ClimbsRocks commented 8 years ago

finished!