
Basics of Decision Trees and KNN
Authored by shinta hanafia
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can decision trees handle both categorical and numerical data?
Yes, but only for small datasets.
No, decision trees can only handle numerical data.
No, decision trees cannot handle any type of data.
Yes, decision trees can handle both categorical and numerical data.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does KNN stand for?
K-Nearest Neighbors Algorithm
K-Nearest Nodes
K-Nearest Neighbors
K-Nearest Network
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does K-Nearest Neighbor classify data points?
KNN classifies data points by random selection.
KNN classifies data points based on the majority class of their nearest neighbors.
KNN assigns data points based on the furthest neighbor.
KNN uses a weighted average of all data points.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In KNN, what does 'K' represent?
The total number of data points in the dataset.
The number of nearest neighbors to consider.
The distance metric used for classification.
The algorithm used to calculate the average of neighbors.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of algorithm is a decision tree?
Supervised learning algorithm
Unsupervised learning algorithm
Clustering algorithm
Reinforcement learning algorithm
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does a decision tree make decisions?
A decision tree makes decisions by using a single feature to classify all data points.
A decision tree makes decisions by randomly selecting features without any criteria.
A decision tree makes decisions by recursively splitting data based on feature values until it reaches a leaf node.
A decision tree makes decisions by averaging all feature values to find a midpoint.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a leaf node in a decision tree?
A node with only one child
A node with two or more children
A node that represents a decision or classification
A node that connects two branches of the tree
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?