Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 77 pages
Exam (elaborations)

CS7641 Machine Learning Final Verified Exam Study Set, 2026/2027 -Question Machine Learning Examination with Answers and Rationales||Newest Exam!!!

Document preview thumbnail
Preview 4 out of 77 pages

CS7641 Machine Learning Final Verified Exam Study Set, 2026/2027 -Question Machine Learning Examination with Answers and Rationales||Newest Exam!!!

Content preview

1|Page


CS7641 Machine Learning Final Verified Exam Study
Set, 2026/2027 -Question Machine Learning
Examination with Answers and Rationales||Newest
Exam!!!


What are the parts of a classification problem? - Answer--
Instances, the input data
- The concept, the function the data represents
- The target concept, the answer we want
- The hypotheses -- all possible target concept functions
- Samples paired to the correct output
- A candidate, a potential target concept
- A testing set, to evaluate how close the candidate is to
the target concept


How does the ID3 decision tree algorithm work? - Answer-
- Find the best attribute, the one with the most information
gain
- Create a branch for each possible value of that attribute
- Lump the training data into its respective branch
- Repeat if there is still more than one example per leaf

,2|Page


How is information gain in decision trees measured? -
Answer-- Entropy reduction: the greatest decrease in
probability of seeing multiple different values


What are the two kinds of bias to worry about when
designing a classifier? - Answer-- Restriction bias: we only
consider candidate functions that can be represented by
our classifier
- Preference bias: we prefer certain kinds of hypotheses
over others


What is the preference bias of the ID3 decision tree
algorithm? - Answer-- Prefers trees with good splits at the
top (greedy)
- Prefers correct decision trees over incorrect ones
- Prefers shallower trees


How does a (boolean) decision tree handle continuous
values? - Answer-- Binning: ask if the value is greater than
or less than a particular value


What is decision tree pruning? - Answer-- Remove the
branches with the least effect on training error

,3|Page




Why is decision tree pruning used? - Answer-- To avoid
overfitting on training data


How do you adapt a decision tree to regression problems?
- Answer-- Information gain is no longer useful, so we can
split on the values where the categories have the least
variance or most correlation
What is classification? - Answer-- Mapping complex inputs
to a label


What is regression? - Answer-- Mapping complex inputs to
a numeric value, usually continuous


What is overfitting? - Answer-`- Model is too closely fit to
the training data and no longer works on real-world data


What is cross-validation? - Answer-- Split the training data
into "fake" train and test sets


When is ensemble learning useful? - Answer-- When there
are features that are inconclusive on their own, but
combining them is much more conclusive

, 4|Page




What's the general approach to ensemble learning
algorithms? - Answer-- Split the training data into smaller
subsets, learn their rules, then combine them into a
collective decision-maker


In ensemble learning, what is bagging? - Answer--
Bootstrap aggregation: choose data randomly with
replacement to form the subset, and take the average of
the result from each learner


In ensemble learning, what is boosting? - Answer-- Weight
all training examples equally to begin with
- After each 'round', find the learner with the lowest error,
and raise the weights of the examples it misclassified
- Combine the learners together with weights proportional
to their accuracy


What is the definition of a weak learner? - Answer-- Any
learner that performs even slightly better than random
chance on any distribution of data

Document information

Uploaded on
April 28, 2026
Number of pages
77
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$25.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExcellentExams
3.3
(4)
Sold
19
Followers
2
Items
3515
Last sold
1 month ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions