Skip to content

Feedforward neural network system in MATLAB for geometric shape classification. Includes data preprocessing, network training and evaluation, confusion matrix analysis, and a graphical interface for user interaction and model testing.

Notifications You must be signed in to change notification settings

RitaP03/NeuralNetwork-ShapeClassifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Feedforward Neural Network for Shape Classification

MATLAB project developed for the Knowledge and Reasoning course at the Polytechnic Institute of Coimbra (ISEC).
The goal is to design, train, and evaluate feedforward neural networks capable of classifying geometric shapes from images.


⚙️ Main Features

  • Image preprocessing (resizing, grayscale conversion, binarization)
  • One-hot encoding for target representation
  • Training and testing of feedforward networks with various topologies
  • Comparative analysis of:
    • Training and activation functions
    • Data division ratios (train/validation/test)
    • Model generalization and overfitting
  • Confusion matrix generation and performance visualization
  • Graphical User Interface (GUI) for interactive model training and classification

🧩 Technologies

  • MATLAB
  • Deep Learning Toolbox
  • Image Processing Toolbox

📊 Results

The best models achieved 100% accuracy on training datasets and strong generalization across different image sets.
Further experiments revealed the impact of training parameters and dataset diversity on classification performance.


🖥️ Graphical Application

An interactive MATLAB GUI allows the user to:

  • Configure network parameters (neurons, layers, functions)
  • Train or import models
  • Load or draw new images
  • Classify shapes and visualize results

📚 About

Developed by Ana Rita Pessoa and João Francisco Claro (ISEC, 2024/2025).
This project explores neural networks for image-based classification, bridging concepts of machine learning, pattern recognition, and data analysis.

About

Feedforward neural network system in MATLAB for geometric shape classification. Includes data preprocessing, network training and evaluation, confusion matrix analysis, and a graphical interface for user interaction and model testing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages