Search Header Logo

IMG classification in sklearn quiz

Authored by Emily Anne

Computers

University

Used 1+ times

IMG classification in sklearn quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the cv2.resize() function do?

Rotates the image

Changes the image brightness

Crops the image

Resizes the image to new dimensions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are image features typically represented when using scikit-learn classifiers?

As raw images

As string labels

As flattened numerical arrays

As text files

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function from scikit-learn is commonly used to split datasets into training and testing sets?

train_test_split()

split_data()

dataset_split()

image_split()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of cv2.imread("image.jpg", cv2.IMREAD_GRAYSCALE)?

A color image

A binary image

A grayscale image

An RGB image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Before training with scikit-learn, what must be done to each image?

Save as .txt

Convert to histogram

Resize and flatten into a 1D array

Convert to PDF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function loads images using OpenCV?

cv2.load()

cv2.open()

cv2.imread()

cv2.fetch()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following techniques is commonly used to increase the amount of images in a dataset artificially?

Regularization

Normalization

Augmentation

Pooling

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?