This repository contains Python scripts demonstrating three machine learning tasks using the famous Iris dataset:
- Linear Regression: Predicting the percentage of a student based on the number of study hours.
- KMeans Clustering: Predicting the optimum number of clusters and visualizing them using KMeans clustering.
- Decision Tree Classifier: Creating a decision tree classifier and visualizing it graphically.
- Python 3.x
- pandas
- scikit-learn
- matplotlib
iris.csv
: CSV file containing the Iris dataset.Task1.py
: Python script for linear regression task.Task2.py
: Python script for KMeans clustering task.Task6.py
: Python script for decision tree classifier task.