K-NN python

K-NN python

University

5 Qs

quiz-placeholder

Similar activities

10 Questions of Machine Learning

10 Questions of Machine Learning

University

10 Qs

Program G: Classifiers

Program G: Classifiers

12th Grade - University

10 Qs

Classification_G3

Classification_G3

University

10 Qs

Classification_G2

Classification_G2

University

10 Qs

Predictive Analytics

Predictive Analytics

University

10 Qs

K-NN algorithm for machine learning

K-NN algorithm for machine learning

University

10 Qs

Machine Learning Quiz 2

Machine Learning Quiz 2

University

10 Qs

Logistic Regression

Logistic Regression

University

10 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