← All Projects

CIFAR-10 Image Classification with CNNs

Classifying 32x32 color images into 10 object classes with convolutional neural networks and transfer learning

Overview

The goal is to teach a computer to look at a small photo and correctly name what object it shows.

Methodology

flowchart LR
  A[Image Dataset] --> B[Resize / Normalize / Augment]
  B --> C["CNN: Conv + Pooling layers"]
  C --> D[Dense + Softmax]
  D --> E[Train w/ Early Stopping]
  E --> F["Evaluate: Accuracy and Confusion Matrix"]

The Data (10 Classes)

The dataset holds 60,000 labeled photos split across ten common object types like planes, cats, and trucks.

Sample Images & Preprocessing

Before training, the raw pixel values are rescaled and the labels reformatted so the network can learn efficiently.

CNN Architecture

A network of stacked layers learns visual patterns, refined across several versions to fix overfitting.

Results & Accuracy

The best model correctly identifies about four out of five unseen photos, performing consistently on new data.

Key Takeaways

Combining a custom-built network with a pre-trained one produced an accurate, well-generalizing image classifier.

More Visualizations

Tech Stack

Attribution

This project was completed as part of the MIT Applied Data Science Program (MIT IDSS / Great Learning). The program provided the case-study scaffolding; the analysis, code, and results are my own. Published with permission, for portfolio use only.