Skip to content

This project involves building and training a deep learning model using TensorFlow and Keras to classify grayscale images of clothing items from the Fashion MNIST dataset. The goal is to correctly predict the type of clothing (e.g., T-shirt, dress, sneaker) from a 28x28 pixel image.

Notifications You must be signed in to change notification settings

konynour/Classification-using-MLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘• Fashion MNIST Classification with Neural Networks

This project demonstrates a multi-class image classification model trained on the Fashion MNIST dataset using TensorFlow and Keras. The goal is to classify grayscale images of clothing items into 10 categories (e.g., T-shirt, trouser, sneaker, etc.).

🧠 Model Overview

  • Input: 28x28 grayscale image
  • Model Type: Multi-Layer Perceptron (MLP)
  • Architecture:
    • Input Layer (Flatten)
    • Hidden Layer 1: Dense (128 units, ReLU)
    • Hidden Layer 2: Dense (128 units, ReLU)
    • Output Layer: Dense (10 units, Softmax)

πŸ§ͺ Loss Function & Optimizer

  • Loss: CategoricalCrossentropy (for one-hot encoded labels)
  • Optimizer: RMSprop
  • Metrics: Accuracy

πŸ“Š Training Results

  • Training performed over 21 epochs
  • Accuracy and loss are tracked for both training and validation sets
  • Results are visualized using Matplotlib for performance monitoring

πŸ“ˆ Sample Output Plots

  • Training vs. Validation Loss
  • Training vs. Validation Accuracy

πŸ—‚ Dataset

  • Fashion MNIST dataset (loaded via tensorflow.keras.datasets)
  • Contains 70,000 images:
    • 60,000 training samples
    • 10,000 test samples
  • Each image is 28x28 pixels, labeled with one of 10 fashion categories

About

This project involves building and training a deep learning model using TensorFlow and Keras to classify grayscale images of clothing items from the Fashion MNIST dataset. The goal is to correctly predict the type of clothing (e.g., T-shirt, dress, sneaker) from a 28x28 pixel image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published