Iris Classification Report
Iris Classification Report
Objective
This report aims to classify iris species based on four features: sepal length, sepal width, petal
length, and petal width. The analysis will focus on prediction accuracy and the interpretability of
Dataset Description
The Iris dataset contains 150 observations of iris flowers across three species: Setosa, Versicolor,
and Virginica. The dataset includes four numerical features (sepal length, sepal width, petal length,
Three classifier models were trained on the dataset: Logistic Regression, Random Forest, and
Support Vector Machine (SVM). Each model was evaluated on a test set, with accuracy, precision,
Model Performance
Logistic Regression:
- Accuracy: 100.00%
- Classification Report:
accuracy 1.00 45
- Accuracy: 100.00%
- Classification Report:
accuracy 1.00 45
SVM:
- Accuracy: 100.00%
- Classification Report:
accuracy 1.00 45
Given the 100% accuracy across all models, any of these models could serve as the final classifier.
However, the Random Forest classifier is recommended for its balance between accuracy and
All three models achieved perfect accuracy on the test set, indicating that the Iris dataset is linearly
separable and well-suited for classification. Future analyses could explore additional datasets with
more complex structures or apply feature selection techniques to improve model simplicity and
interpretability.