An open API service indexing awesome lists of open source software.

https://github.com/konynour/classification-using-mlp

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.
https://github.com/konynour/classification-using-mlp

classification cnn kares mlp

Last synced: about 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

# ๐Ÿ‘• 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