i'm trying to create a neural network with MNIST data set. I know I have to unroll each image into a vector with every pixel, and stack each image vector, but how do I add polynomial features? I am doing this in python
Asked
Active
Viewed 131 times
-1
-
Can I know why you want to add polynomial features? – Kenneth Jan 13 '20 at 03:15
1 Answers
0
Vector is rarely use in digit classification, people use numpy array instead. As image pixels, Weights and biases are also stored in numpy arrays, and we do the further actions such as multiply, which is probably your "polynomial features" means, on numpy arrays as in matrices. There is plenty of tutorial that you can search for but I would recommend this.

Will
- 166
- 1
- 9