Basics of Decision Trees and KNN

Basics of Decision Trees and KNN

University

8 Qs

quiz-placeholder

Similar activities

Quiz Struktur Data

Quiz Struktur Data

9th Grade - University

10 Qs

RoutingBasics

RoutingBasics

8th Grade - University

11 Qs

FOS Ch.1 PArt 4 (QUIZ 4)

FOS Ch.1 PArt 4 (QUIZ 4)

University

8 Qs

Quiz despre B+ Tree

Quiz despre B+ Tree

University

10 Qs

Trees - Data Structures

Trees - Data Structures

University

7 Qs

BACS3323 Chapter 6 - Decision Making - Lecture

BACS3323 Chapter 6 - Decision Making - Lecture

University

10 Qs

ID3 Steps

ID3 Steps

11th Grade - University

5 Qs

Data structures

Data structures

University

9 Qs

Basics of Decision Trees and KNN

Basics of Decision Trees and KNN

Assessment

Quiz

Computers

University

Easy

Created by

shinta hanafia

Used 2+ times

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the maximum depth of a decision tree represent?

  • The total number of nodes in the tree

The length of the longest path from the root to a leaf

The average number of branches per node

The total number of leaves in the tree