Search Header Logo

MachineLearning1

Authored by DEVI IT

Computers

University

Used 2+ times

MachineLearning1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the shape of the array after reshaping a 1D array with 12 elements to a 2D array with 3 rows and 4 columns?

12,3

3,4

4,3

6,2

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following operation: np.dot([1, 2], [3, 4])?

3,8

11

4,6

7,10

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function in Matplotlib is used to display a plot?

show()

display()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you set the labels for the x-axis and y-axis in Matplotlib?

plt.label("x-axis", "y-axis")

plt.xaxis("Label") and plt.yaxis("Label")

plt.xlabel("x-axis") and plt.ylabel("y-axis")

plt.set_xlabel("x-axis") and plt.set_ylabel("y-axis")

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following is a method to handle missing values in a dataset?

Remove the rows with missing values

Replace missing values with the mean or median

Use imputation techniques

To perform statistical tests

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods is used for encoding categorical variables into numerical values?

One-hot encoding

Min-Max scaling

Z-score normalization

Principal Component Analysis (PCA)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of plot would you typically use to visualize the distribution of a numerical variable?

Bar plot

Line plot

Histogram

Scatter plot

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?

Discover more resources for Computers