0% found this document useful (0 votes)
12 views8 pages

VND Openxmlformats-Officedocument Wordprocessingml Document&rendition 1

Uploaded by

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

VND Openxmlformats-Officedocument Wordprocessingml Document&rendition 1

Uploaded by

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

MACHINE LEARNING LAB- (R20-V Sem)

Module 2

Aim: Data Visualization: Box plot, scatter plot,


histogram

Box plot :

A Box Plot is also known as Whisker plot is created to display the summary of the set of
data values having properties like minimum, first quartile, median, third quartile and
maximum. In the box plot, a box is created from the first quartile to the third quartile, a
vertical line is also there which goes through thebox at the median. there are two main
libraries you can use to create box plots in Python: Matplotlib and Seaborn (which is built on
top of Matplotlib).

1P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING
MACHINE LEARNING LAB- (R20-V Sem)

Boxplot with particular attribute:

2P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING
MACHINE LEARNING LAB- (R20-V Sem)

Boxplot without dataset:

3P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING
MACHINE LEARNING LAB- (R20-V Sem)

4P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING
MACHINE LEARNING LAB- (R20-V Sem)

5P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING
MACHINE LEARNING LAB- (R20-V Sem)

Model performance:

scatter plot:
A scatter plot is a diagram where each value in the data set is represented by a dot.
The Matplotlib module has a method for drawing scatter plots, it needs two arrays of
the same length, one for the values of the x-axis, and one for the values of the y-axis.

6P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING
MACHINE LEARNING LAB- (R20-V Sem)

Histogram:

A histogram is a graphical representation of the distribution of numerical data. It displays


the frequency of data points within specified ranges (bins). You can create histograms
using several libraries in Python, including Matplotlib, Seaborn, and Pandas.

7P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING
MACHINE LEARNING LAB- (R20-V Sem)

Using matplot lib:

Histogram With Particular attribute:

8P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING

You might also like