ClimbsRocks / data-formatter

Takes raw csv input and formats it to be ready for neural networks
19 stars 7 forks source link

use LabelEncoder on y values #74

Open ClimbsRocks opened 8 years ago

ClimbsRocks commented 8 years ago

right now we can only take in y values that are numbers (or strings that can be converted to numbers). we cannot take in strings.

LabelEncoder would let us take in strings like "Soccer Dad","Corporate Mom", etc, as the categories we are trying to classify.

ClimbsRocks commented 8 years ago

http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.LabelEncoder.html

ClimbsRocks commented 8 years ago

steps for this:

ClimbsRocks commented 8 years ago

nvm, labelEncoder doesn't let you introspect their process. so doing it manually.