Preston Parry
Data Scientist, Machine Learning Engineer, addicted cyclist and rock climber
In this example, the first position is for age, the next is a 0 or 1 value for whether this person rock climbs or not, then the rest of the columns are 0 or 1 values for sate=CA, state=NC, and state=WA
age climbs state
28 yes CA
26 no NC
23 yes WA
[28, 1, 1, 0, 0]
[26, 0, 0, 1, 0]
[23, 1, 0, 0, 1]
github.com/ClimbsRocks/machineJS
By Preston Parry
Or, "why can't we just get into the fun part yet? Why do we have to mess around with the data beforehand?"
Data Scientist, Machine Learning Engineer, addicted cyclist and rock climber