Instructions to use amirsoahil101/Iris_Flower_Classification_using_Ensemble_Learning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use amirsoahil101/Iris_Flower_Classification_using_Ensemble_Learning with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("amirsoahil101/Iris_Flower_Classification_using_Ensemble_Learning", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
File size: 2,159 Bytes
a5ead5c 4ef052b a5cab7d 29dee77 4ef052b 575e68f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | ---
license: mit
language: en
tags:
- tabular-classification
pipeline_tag: tabular-classification
library_name: sklearn
---
# ๐ธ Iris Flower Classification using Ensemble Learning
This repository focuses on building and evaluating a high-performance machine learning pipeline on the classic **Iris Dataset** using advanced **Ensemble Learning** methodologies. The goal is to optimize multi-class classification accuracy by combining multiple base estimators.
---
## ๐ ๏ธ Ensemble Techniques Implemented
To achieve robust predictive stability, the project utilizes the following ensemble architectures:
- **Max Voting / Hard & Soft Voting:** Aggregating predictions from diverse underlying algorithms (like Logistic Regression, SVM, and Decision Trees).
- **Bagging (Random Forest Classifier):** Training multiple decision tree estimators in parallel to reduce model variance.
- **Boosting (AdaBoost / Gradient Boosting):** Sequentially correcting errors from baseline estimators to reduce predictive bias.
---
## ๐ Dataset Structure
The system processes the standard Iris dataset containing 150 instances tracking four core physical features:
1. Sepal Length (cm)
2. Sepal Width (cm)
3. Petal Length (cm)
4. Petal Width (cm)
---
## ๐ป Tech Stack & Dependencies
- **Python 3.x**
- **scikit-learn** (For dataset sourcing, model pipelines, and ensemble algorithms)
- **pandas & numpy** (For structured matrix processing)
- **matplotlib & seaborn** (For confusion matrix heatmap plots and classification boundaries)
---
## ๐ How to Run Locally
Follow these quick implementation steps to clone, configure, and execute the ensemble model pipeline locally on your machine:
### 1. Clone and Enter the Repository
```bash
git clone [https://github.com/amirsohail100/Iris_datase_-with_Ensemble_Learning.git](https://github.com/amirsohail100/Iris_datase_-with_Ensemble_Learning.git)
cd Iris_datase_-with_Ensemble_Learning
pip install -r requirements.txt
```
An optimized machine learning pipeline implementing Ensemble Learning (Voting, Bagging, Boosting) on the classic Iris Dataset to achieve high-accuracy multi-class classification.
|