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
Commit ·
4ef052b
1
Parent(s): 641cdb3
add readem file
Browse files
README.md
CHANGED
|
@@ -1,2 +1,48 @@
|
|
| 1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
An optimized machine learning pipeline implementing Ensemble Learning (Voting, Bagging, Boosting) on the classic Iris Dataset to achieve high-accuracy multi-class classification.
|
|
|
|
| 1 |
+
# 🌸 Iris Flower Classification using Ensemble Learning
|
| 2 |
+
|
| 3 |
+
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.
|
| 4 |
+
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
## 🛠️ Ensemble Techniques Implemented
|
| 8 |
+
|
| 9 |
+
To achieve robust predictive stability, the project utilizes the following ensemble architectures:
|
| 10 |
+
|
| 11 |
+
- **Max Voting / Hard & Soft Voting:** Aggregating predictions from diverse underlying algorithms (like Logistic Regression, SVM, and Decision Trees).
|
| 12 |
+
- **Bagging (Random Forest Classifier):** Training multiple decision tree estimators in parallel to reduce model variance.
|
| 13 |
+
- **Boosting (AdaBoost / Gradient Boosting):** Sequentially correcting errors from baseline estimators to reduce predictive bias.
|
| 14 |
+
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
## 📊 Dataset Structure
|
| 18 |
+
|
| 19 |
+
The system processes the standard Iris dataset containing 150 instances tracking four core physical features:
|
| 20 |
+
|
| 21 |
+
1. Sepal Length (cm)
|
| 22 |
+
2. Sepal Width (cm)
|
| 23 |
+
3. Petal Length (cm)
|
| 24 |
+
4. Petal Width (cm)
|
| 25 |
+
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
## 💻 Tech Stack & Dependencies
|
| 29 |
+
|
| 30 |
+
- **Python 3.x**
|
| 31 |
+
- **scikit-learn** (For dataset sourcing, model pipelines, and ensemble algorithms)
|
| 32 |
+
- **pandas & numpy** (For structured matrix processing)
|
| 33 |
+
- **matplotlib & seaborn** (For confusion matrix heatmap plots and classification boundaries)
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## 🚀 How to Run Locally
|
| 38 |
+
|
| 39 |
+
Follow these quick implementation steps to clone, configure, and execute the ensemble model pipeline locally on your machine:
|
| 40 |
+
|
| 41 |
+
### 1. Clone and Enter the Repository
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
git clone [https://github.com/amirsohail100/my_first_ensemble-_learning_basics.git](https://github.com/amirsohail100/my_first_ensemble-_learning_basics.git)
|
| 45 |
+
cd my_first_ensemble-_learning_basics
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
An optimized machine learning pipeline implementing Ensemble Learning (Voting, Bagging, Boosting) on the classic Iris Dataset to achieve high-accuracy multi-class classification.
|