I need to implement a simple perceptron algorithm. There are 2 classes "cat and dogs". Each training sample is a pair of the form (x,t)
where x
is the vector of input values, and t
is target output value. But i don't know how can i convert an image to a vector form in python for perceptron?
What is meant by vector form?
Images have a size 32*32.