Iris Dataset Analysis

Machine Learning
Classification
Exploratory data analysis and classification of the classic Iris dataset using statistical and machine learning models.
Published

October 4, 2025

Iris flower

Photo: Anthony 🙂 — Pexels

Problem

Analyze the Iris dataset and evaluate classification models for predicting Iris species from flower measurements.

Data

The Iris dataset is a classic dataset in statistics and machine learning, introduced in 1936.
It contains 150 samples from three Iris species, with 50 observations per species:

  • Iris setosa
  • Iris versicolor
  • Iris virginica

Method

Exploratory data analysis included histograms, scatter plots, and violin plots.
Three classification models were applied:

  • Linear Discriminant Analysis
  • Logistic Regression
  • Decision Tree Classifier

Tools

, , , , , Linear Discriminant Analysis, Logistic Regression, Decision Tree Classifier

Analysis

Open the notebook
Original Github Repository