Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/brazer27/iris-classification

A Python implementation of Naive Bayes algorithm for Iris flower classification. Features include cross-validation, data preprocessing, and prediction capabilities. Built from scratch without ML libraries, achieving ~95% accuracy on the classic Iris dataset.
https://github.com/brazer27/iris-classification

cross-validation data-science data-visualization flower-classification iris-dataset machine-learning naive-bayes python

Last synced: 27 days ago
JSON representation

A Python implementation of Naive Bayes algorithm for Iris flower classification. Features include cross-validation, data preprocessing, and prediction capabilities. Built from scratch without ML libraries, achieving ~95% accuracy on the classic Iris dataset.

Awesome Lists containing this project

README

        

# Iris Classification using Naive Bayes

A Python implementation of the Naive Bayes algorithm for classifying Iris flowers. This project provides two implementations:
- A comprehensive version with cross-validation and visualization
- A simplified version focused on making predictions

## Features
- Gaussian Naive Bayes implementation from scratch
- K-fold cross-validation
- Performance visualization using box plots
- Data preprocessing utilities
- Simple interface for making predictions on new data

Dataset: The classic Iris dataset containing 150 samples with 4 features (sepal length, sepal width, petal length, petal width) and 3 classes of Iris flowers.

Average accuracy: ~95% using 5-fold cross-validation