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
Exam (elaborations)

CS7641 Final Exam ACTUAL QUESTIONS AND CORRECT ANSWERS

Rating
-
Sold
-
Pages
11
Grade
A+
Uploaded on
10-06-2026
Written in
2025/2026

CS7641 Final Exam ACTUAL QUESTIONS AND CORRECT ANSWERS Four optimization approaches - CORRECT ANSWER 2) Calculus 3) Newton's Method 4) Randomized Optimization Hill Climbing Algorithm - CORRECT ANSWER Repeat the following: Let n*=argmax_n∈N(x) f(n) If f(n)f(x): x=n Else: stop Disadvantage: - Get stuck in local optima Randomized Restart Hill Climbing - CORRECT ANSWER 1) Generate and test Guess x∈X Same as Hill Climbing but once local optimum reached, restart again with a different starting x Advantage: - Won't get stuck in local optimum - Not much more expensive than HC (constant factor) Disadvantage: - May not do better than enumeration (depends on size of attraction basin around global optimum) Entropy - CORRECT ANSWER -∑p(s)log₂p(s) Number of bits per symbol (probability of symbol X # of bits to describe that symbol) Joint Entropy - CORRECT ANSWER H(x,y)=-∑p(x,y)log₂p(x,y)

Show more Read less
Institution
Cs
Course
Cs

Content preview

CS7641 Final Exam ACTUAL
QUESTIONS AND CORRECT ANSWERS
Four optimization approaches - CORRECT ANSWER 1) Generate and test

2) Calculus

3) Newton's Method

4) Randomized Optimization



Hill Climbing Algorithm - CORRECT ANSWER Guess x∈X

Repeat the following:

Let n*=argmax_n∈N(x) f(n)

If f(n)>f(x): x=n

Else: stop



Disadvantage:

- Get stuck in local optima



Randomized Restart Hill Climbing - CORRECT ANSWER Same as Hill Climbing but once
local optimum reached, restart again with a different starting x



Advantage:

- Won't get stuck in local optimum

- Not much more expensive than HC (constant factor)

Disadvantage:

- May not do better than enumeration (depends on size of attraction basin around global optimum)



Entropy - CORRECT ANSWER -∑p(s)log₂p(s)



Number of bits per symbol (probability of symbol X # of bits to describe that symbol)

, Joint Entropy - CORRECT ANSWER H(x,y)=-∑p(x,y)log₂p(x,y)



Randomness contained in two variables together



Conditional Entropy - CORRECT ANSWER H(y|x)=-∑p(x,y)log₂p(y|x)



Randomness of one variable given the other variable



Entropy if x and y are independent - CORRECT ANSWER H(Y|X)=H(Y) Y doesn't get any
info from x

H(X,Y)=H(X)+H(Y) Joint entropy is sum



Mutual Information - CORRECT ANSWER I(x,y)=H(y)-H(y|x)=I(y,x)



Measure of reduction of randomness of variable given some knowledge of another variable.



Specific case of KL Divergence



Kullback-Leibler Divergence - CORRECT ANSWER Always non-negative

Zero when P is equal to Q

Measures distance between any two distributions



Supervised Learning - CORRECT ANSWER Use labeled training data to generalize labels to
new instances (function approximation)



Unsupervised Learning - CORRECT ANSWER Make sense out of unlabeled data (data
description)



Single Linkage Clustering (SLC) Algorithm - CORRECT ANSWER - Consider each object a
cluster (n objects)

- Define intercluster distance as distance between closest two points in the two clusters

Written for

Institution
Cs
Course
Cs

Document information

Uploaded on
June 10, 2026
Number of pages
11
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.49
Get access to the full document:

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

Get to know the seller

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.
STANFORDTOPGRADES Stanford University
Follow You need to be logged in order to follow users or courses
Sold
56
Member since
1 year
Number of followers
2
Documents
7115
Last sold
18 hours ago
TOPSELLER

Hi there! I'm dedicated to sharing my high-quality study guides and helpful EXAM Materials to make your learning easier and more efficient. All my materials are well-organized and tailored to help you ace your courses. I offer genuine and dependable exam papers that are directly obtained from well-known, reputable institutions as a highly regarded professional who specializes in sourcing study materials. Kindly don't hesitate to contact me, my study guides, notes and exams or test banks, are 100% graded and fully guaranteed

Read more Read less
3.8

8 reviews

5
3
4
1
3
3
2
1
1
0

Recently viewed by you

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