0% found this document useful (0 votes)
374 views12 pages

Iris Flower Classification Using ML

presentation on iris flower classification
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
374 views12 pages

Iris Flower Classification Using ML

presentation on iris flower classification
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

IRIS FLOWER

CLASSIFICATION
USING ML
introduction
 Irisdataset contains features of different
flower species. Independent features in this
dataset are sepal length, sepal width, petal
length , petal width.
 All these lengths are in cms
 The output of this model contains the name
of the species to which that particular flower
with those measurements belongs
ABOUT IRIS DATASET
 THE DATASET COMPRISES OF THREE CLASSES OF
EACH SPECIES HAVING 50 SAMPLES-
VERSICOLOR,SETOSA AND VIRGINICA.
 IN DATASET ,THE ROWS ARE EXAMPLES WHILE THE
COLUMNS REPRESENT IRIS FLOWER
CHARACTERISTICS.
 THE PREDICTION MODEL RECIEVES THE DATASET
AND EACH SAMPLE IS MEASUREED USING FOUR
CHARACTERISTICS-LENGTH AND WIDTH OF SEPAL
AND PETAL .
FEATURES OR ATTRIBUTES
(4 NUMERIC)
SEPAL LENGTH (cm)
SEPAL WIDTH(cm)
PETAL LENGTH(cm)
PETAL WIDTH(cm)
MACHINE LEARNING APPROACH

 Tocreate a model for iris flower


classification, we will use a supervised
learning approach. Specifically we will
use a classification algorithm called
logistic regression. Logistic regression is
a simple yet powerful algorithm that is
often used for binary classification
problems.
preprocessing
 Beforewe train our model ,we need to
preprocess the dataset. This involves splitting
the dataset into training and testing data,
scaling the features, and encoding the labels.
Scaling the features is important because it
ensures that each feature is on a similar
scale,which can improve the performance of the
model. Encoding labels is necessary because
machine learning require numerical labels.
training
Once the dataset has been
preprocessed , we can train the
logistic regression model.
During training, the model will
learn to map the input features
to the correct output labels.
evaluation
 Aftertraining the model , we need to
evaluate its performance on the testing
set. We will use metrics such as
accuracy,precision,recall, and f1 score
to evaluate the model’s performance.
These metrics will help us to determine
how well the model is performing and
identify areas where it can be improved.
Thank you

You might also like