• About
  • Projects
  • Contact
Projects

Image Classifier

October, 2019

This project aimed to compare different methods of feature extraction and classification of images from the CIFAR-10 dataset. The CIFAR-10 dataset is a big dataset of 10 classes of images, including dogs, cats, trucks, deer, planes, etc…

HOG Feature Extraction

Originally, I used the histogram of oriented gradients method to extract features. I created a very simple neural network to begin with to classify the images and achieved around 50% accuracy.

HOGANN

I then tried to classify the dataset using a support vector machine and again, acheived about 50% accuracy.

HOGSVM

I also tried other methods such as PCA and SVM which achieved about 20%, a bit better than just random but a very poor classifier.

Image Classifier Revisited

I recently revisited this project after teaching myself more about Convolutional Neural Networks. CNN’s seemed like they would perform much better at solving this kind of problem.

I flattened the dataset and used six hidden layers in pairs of two. After each pair I would perform batch normalization, max pooling, and dropout to improve accuracy. Combining this with some prior image manipulation achieved a 90% accuracy, significantly higher than the classification methods I had previously tried. Below you can see a confusion matrix of the test dataset.

CNN

      Association Rule Mining

    Contact

    Please feel free to get in touch with me or follow me on any of the following social media. If you want to get hold of me either use the form to the right or send me an email at: luisdibdin@icloud.com.

    Site built using GatsbyJS and hosted on Netlify.
    Styled with the help of Chakra UI.

    © Luis Dibdin, 2023