Skip to content

ilhan2316/Project-Perceptron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project-Perceptron


Perceptron Classifier for Iris Dataset

This project implements a simple perceptron classifier to classify the Iris dataset.

Overview

The Iris dataset is a classic dataset in machine learning, containing measurements of various iris flowers. It consists of 150 samples of iris flowers, each with four features: sepal length, sepal width, petal length, and petal width. The flowers belong to three different species: setosa, versicolor, and virginica.

The goal of this project is to develop a perceptron classifier that can accurately classify iris flowers into their respective species based on their features.

Screenshot 2024-02-10 at 5 10 39 PM

How it Works

The perceptron classifier is a type of linear classifier that learns to separate data points belonging to different classes by finding an optimal decision boundary in the feature space. It iteratively updates its weights and bias based on the misclassification of training examples until convergence.

Usage

  1. Clone the repository.
  2. Install the required dependencies using pip install -r requirements.txt.
  3. Run the perceptron_iris.py script.
  4. The script will train the perceptron model on the Iris dataset and evaluate its accuracy.
  5. Experiment with different hyperparameters and feature engineering techniques to improve the accuracy.

Requirements

  • Python 3.x
  • NumPy
  • scikit-learn
  • Matplotlib

License

This project is licensed under the MIT License - see the LICENSE file for details.


About

Perceptron model in practice.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages