0% found this document useful (0 votes)
9 views3 pages

ML 10

The document discusses using the IRIS dataset to perform classification using machine learning. It describes the IRIS dataset which contains measurements of iris flowers and their species. The goal is to classify the flowers into their correct species using various machine learning techniques and plots.

Uploaded by

Sakshi Gholap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

ML 10

The document discusses using the IRIS dataset to perform classification using machine learning. It describes the IRIS dataset which contains measurements of iris flowers and their species. The goal is to classify the flowers into their correct species using various machine learning techniques and plots.

Uploaded by

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

DEPARTMENT OF ARTIFICIAL

INTELLIGENCE & DATA SCIENCE

Course: Machine Learning Course Code: CSL-60


Semester: 6 Department: AI & DS
Laboratory No: Name of Subject Teacher:
Name of Student: Roll Id:
EXPERIMENT NO:10
Aim: Case study on Classification using IRIS data set.

Theory: Iris Dataset is considered as the Hello World for data science. It contains five
columns namely – Petal Length, Petal Width, Sepal Length, Sepal Width, and Species
Type. Iris is a flowering plant, the researchers have measured various features of the
different iris flowers and recorded them digitally.

You can download the Iris.csv file from the above link. Now we will use the Pandas library
to load this CSV file, and we will convert it into the dataframe. read_csv() method is used
to read CSV files.

Code:
import os
for dirname, _, filenames in os.walk('/kaggle/input'):
for filename in filenames:
print(os.path.join(dirname, filename))
import matplotlib.pyplot as plt
import seaborn as sns
import warnings
warnings.filterwarnings('ignore')
iris = pd.read_csv('/kaggle/input/iris/Iris.csv')
iris.head()
iris.shape
iris.info()

Output:
Learning Objectives: Our main objective is to classify the flowers into their respective species -
Iris setosa, Iris virginica and Iris versicolor by using various possible plots.

Conclusion/Learning outcome: As can be seen from the above info, it is a balanced


dataset.

You might also like