Skip to content

A machine learning and deep learning project focused on the Iris dataset

Notifications You must be signed in to change notification settings

amirfeqhi/iris-dataset-ml

Repository files navigation

Iris Dataset Machine Learning Project

This repository contains a machine learning and deep learning project focused on the Iris dataset. The project implements two different methods for classifying Iris flowers: Logistic Regression and Feed Forward Neural Network. It serves as a practical exercise to apply machine learning and deep learning concepts learned in my studies.

Table of Contents

Project Overview

This project aims to demonstrate the application of machine learning and deep learning techniques to the Iris dataset, a classic dataset often used for introductory data science and classification tasks. It provides a practical example for understanding and implementing two different classification methods: Logistic Regression and Feed Forward Neural Network.

Dataset

The Iris dataset used in this project is a well-known dataset in the field of machine learning and consists of 150 samples of Iris flowers, with 50 samples from each of three different species (Setosa, Versicolor, and Virginica). Each sample includes four features: sepal length, sepal width, petal length, and petal width.

Methods

1. Logistic Regression

In the logistic_regression.ipynb notebook, you'll find the implementation of Logistic Regression to classify Iris flowers based on their features. Logistic Regression is a simple yet powerful classification algorithm, and this notebook serves as an introduction to its usage in machine learning.

2. Feed Forward Neural Network

In the neural_network.ipynb notebook, you'll find the implementation of a Feed Forward Neural Network (FFNN) using a deep learning framework like TensorFlow or PyTorch. This notebook demonstrates how to build and train a neural network for Iris flower classification, showcasing the power of deep learning.

Requirements

To run the code in this project, you will need the following libraries and tools:

  • Python 3.x
  • Jupyter Notebook (for running the provided notebooks)
  • Dependencies listed in requirements.txt

You can install the required Python packages using pip:

pip install -r requirements.txt

Usage

  1. Clone this repository to your local machine:
git clone https://github.com/amirfeqhi/iris-dataset-ml.git
  1. Navigate to the project directory:
cd iris-dataset-ml
  1. Install the required packages as mentioned in the "Requirements" section.

  2. Open and run the Jupyter notebooks (logistic_regression.ipynb and neural_network.ipynb) to explore the code and execute the machine learning models.

Contributing

If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your changes: git checkout -b feature/new-feature.
  3. Make your changes and commit them: git commit -m "Add new feature".
  4. Push to your forked repository: git push origin feature/new-feature.
  5. Create a pull request to merge your changes into the main repository.

About

A machine learning and deep learning project focused on the Iris dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published