This repository contains a simple machine learning project that demonstrates how to train and evaluate a Logistic Regression model using the Iris dataset from scikit-learn.
The project follows a complete basic machine learning pipeline:
- Import required libraries
- Load the Iris dataset
- Split the data into training and testing sets
- Standardize features
- Train a Logistic Regression model
- Evaluate the model using accuracy and a classification report
- Name: Iris Dataset
- Source: Built-in dataset from
scikit-learn - Classes:
- Setosa
- Versicolor
- Virginica
- Features:
- Sepal length
- Sepal width
- Petal length
- Petal width
- Python 3.x
- scikit-learn
Install dependencies with:
pip install scikit-learn