MACHINE LEARNING

APPLICATION OF SUPERVISED LEARNING

MACHINE LEARNINGHARD QUESTIONS

 Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is use of this code? ‘Height’ ) ‘Count’ )
 A x as height and y as count B show the lable of x as height and y as count C x and y will be height and count D none of the above
Explanation:

Detailed explanation-1: -A bar graph is a graphical representation of information. It uses bars that extend to different heights to depict value.

Detailed explanation-2: -seaborn.countplot (most straightforward) This automatically aggregates counts and returns an Axes, so just directly label ax.containers[0] : ax = sns.countplot(x=’User’, data=df) ax.bar label(ax.containers[0]) seaborn.catplot ( kind=’count’ ) seaborn. 11-Mar-2019

Detailed explanation-3: -Make a list of years. Make a list of populations in that year. Get the number of labels using np. Set the width of the bars. Create fig and ax variables using subplots() method, where default nrows and ncols are 1. Set the Y-axis label of the figure using set ylabel(). More items •15-Mar-2021

There is 1 question to complete.