VND Openxmlformats-Officedocument Wordprocessingml Document&rendition 1
VND Openxmlformats-Officedocument Wordprocessingml Document&rendition 1
Module 2
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)
2P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING
MACHINE LEARNING LAB- (R20-V Sem)
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:
7P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING
MACHINE LEARNING LAB- (R20-V Sem)
8P a g e
LAKIREDDYBALIREDDY COLLEGE OF ENGINEERING