Author | Message |
---|---|
msargent
Posts: 519
|
Posted 15:08 Mar 03, 2015 |
My cryptic instruction: "For the y values, convert them to arrays, with a '1' in the zero index corresponding to a digit value of 1 and a '1' in 9th index corresponding to a digit value of 10, with zeros in all other indices." The instruction means to say that you should use index 0 for the number 1, 1 for the number 2, and so on up to 9 for the number 10. That is, whatever the digit d is in the labels, put a 1 in the y vector for that sample in the d-1 index (for example, if the digit is 6, put a 1 in the 5th index), and put a 0 in all the other indices. Do this for all the Y values. I will change this up on github. Last edited by msargent at
16:17 Mar 03, 2015.
|