K-NN python

K-NN python

University

5 Qs

quiz-placeholder

Similar activities

Classification_G2

Classification_G2

University

10 Qs

Machine Learning Quiz 2

Machine Learning Quiz 2

University

10 Qs

Regression Models in Machine Learning

Regression Models in Machine Learning

University

10 Qs

Sikhism

Sikhism

KG - University

10 Qs

Machine Learning Internal Examination

Machine Learning Internal Examination

University

10 Qs

IoT - การบรรยาย 5

IoT - การบรรยาย 5

University

10 Qs

Intro to ML: Unsupervised Learning

Intro to ML: Unsupervised Learning

University

10 Qs

BAN2022_CH4: Classification Part II K-NN (EOC)

BAN2022_CH4: Classification Part II K-NN (EOC)

University

7 Qs

K-NN python

K-NN python

Assessment

Quiz

Computers

University

Medium

Created by

Saturday นบม.

Used 3+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the K-NN algorithm, do we need to specify the number of neighbors?

Yes

No

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

K-NN is a linear classifier.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

K-NN prediction boundary usually looks like a smooth curve.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, what is the class used to create a K-NN classifier?

KNN

KNeighborsClassifier

KNearestNeighbors

KNearestNeighborsClassifier

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default parameter for the number of neighbors k?

k = 2

k = 3

k = 5

k = 10

k = 100