Jump to content

Feature vector: Difference between revisions

No edit summary
Line 14: Line 14:
Let us assume we have a [[dataset]] of images of handwritten digits (0-9), and want to use machine learning algorithms to [[classify]] these images into their corresponding digits. In order to do this, we need to extract features from the images which can be utilized as features vectors for use by machine learning algorithms; one way of doing this is by converting the images into feature vectors.
Let us assume we have a [[dataset]] of images of handwritten digits (0-9), and want to use machine learning algorithms to [[classify]] these images into their corresponding digits. In order to do this, we need to extract features from the images which can be utilized as features vectors for use by machine learning algorithms; one way of doing this is by converting the images into feature vectors.


Take for instance this 28x28 grayscale image of the numeral "5":
Take for instance this grayscale image of the numeral "5":


[[File:mnist_5_example1.png|400px]]
[[File:mnist_5_example1.png]]


From this image we can deduce the following features:
From this image we can deduce the following features: