Open ClimbsRocks opened 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.
http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.LabelEncoder.html
steps for this:
nvm, labelEncoder doesn't let you introspect their process. so doing it manually.
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.