Jump to content

Feature vector: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 11: Line 11:


==Example==
==Example==
[[File:mnist_example1.png|400px|right]]
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 28x28 grayscale image of the numeral "5":


[Image of the numeral "5"]
[[File:mnist_5_example1.png|400px]]


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