Search Header Logo

Machine Learning QUIZ 1

Authored by Alicia Passah

Other

University

Used 8+ times

Machine Learning QUIZ 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Matplotlib primarily used for in the context of machine learning?

Data preprocessing

Data visualization

Model training

Hyperparameter tuning

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `imshow` function in Matplotlib?

To display an image

To plot a scatter plot

To create a 3D plot

To show a bar chart

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The matplotlib function that is used to plot points in the graph is:

Points

Dot

Scatter

Plot

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you import the Matplotlib library in Python?

import matplotlib

import plt

import matplotlib.pyplot as plt

import matplotlib as plt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function used to add labels to the x and y axes in a Matplotlib plot?

label_axes()

plt.x_label(), plt.y_label()

set_labels()

plt.xlabel(), plt.ylabel()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the legend() function in Matplotlib?

To describe the elements of a graph

To label the x and y axes

To change the plot's color

To add a title to the plot

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the subplots() function in Matplotlib return?

A single plot

Multiple subplots

A legend for the plot

A color map

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?