Skip to content

A simple neural network model implemented in PyTorch to classify iris flowers.

License

Notifications You must be signed in to change notification settings

Sara-Esm/Iris-Classifier-PyTorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Iris-Classifier-PyTorch

This project uses PyTorch to build and train a neural network for classifying iris flowers based on their features. The model is designed with two hidden layers, and it leverages ReLU activations for non-linearity. The training process includes backpropagation and optimization using Adam. After training, the model's accuracy is evaluated on a test set, achieving strong performance.

Features

  • PyTorch implementation with custom model architecture
  • Two hidden layers with ReLU activations
  • Cross-entropy loss and Adam optimizer
  • Evaluation of model accuracy on the test set

Results

The model achieves around 96% accuracy on the test set.

Dependencies

  • PyTorch
  • Pandas
  • Scikit-learn
  • Matplotlib

About

A simple neural network model implemented in PyTorch to classify iris flowers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published