Skip to content

lrenad/iris-logistic-regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Iris Flower Classification with Logistic Regression

This project demonstrates a simple machine learning workflow using the famous Iris dataset. It covers data preprocessing, model training, evaluation, and prediction using Logistic Regression from scikit-learn.

Dataset

The project uses the Iris dataset, which contains measurements of iris flowers (sepal length, sepal width, petal length, petal width) to classify them into three species:

  • Setosa
  • Versicolor
  • Virginica

Steps in the Project

  • Load and explore the dataset
  • Split features (X) and target labels (y)
  • Train a Logistic Regression model
  • Evaluate the model’s performance
  • Make predictions on new data

Requirements

Make sure you have the following Python libraries installed:

pip install pandas scikit-learn

About

This project demonstrates a simple machine learning workflow using the famous Iris dataset. It covers data preprocessing, model training, evaluation, and prediction using Logistic Regression from scikit-learn.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors