-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdescription.txt
More file actions
11 lines (7 loc) · 875 Bytes
/
Copy pathdescription.txt
File metadata and controls
11 lines (7 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
Using Scikit learn to perform ML based classification on the MNIST database of handwritten digits.
Applying 3 different algorithms - K nearest neighbors, Random Forests, Linear SVC
About the dataset: It contains 28 x 28 grayscale images with handwritten digits ranging between 0 and 9.
Using the PIL library. It can be installed by running
$ conda install -c anaconda pil
in anaconda prompt.
It's not really possible to say which approachor algorithm is the best to classify this MNIST dataset because that depends on many factors and they can be fine-tuned to improve their performance. The K-nearest neighbors algorithm is fast to train the data but is slow to compute the results. On the other hand, the Random Forest is faster to classify the data. The results obtained with LinearSVC were less good, but this could probably be improved by using better parameters.