• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 17 pages
Exam (elaborations)

CS7641 Final Exam 75+ (Latest Edition) 100% Verified Q&A + Answer Key Solutions

Document preview thumbnail
Preview 3 out of 17 pages

CS7641 Final Exam 75+ (Latest Edition) 100% Verified Q&A + Answer Key Solutions

Content preview

CS7641 FINAL EXAM
75+ (Latest 2025-2026 Edition) 100% Verified Q&A + Answer Key Solutions




Question 1


Four optimization approaches
Correct!

1) Generate and test
2) Calculus
3) Newton's Method
4) Randomized Optimization




Question 2


Hill Climbing Algorithm
Correct!

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




Question 3


Randomized Restart Hill Climbing
Correct!

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)

, Question 4


Entropy
Correct!

-∑p(s)log₂p(s)

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




Question 5


Joint Entropy
Correct!

H(x,y)=-∑p(x,y)log₂p(x,y)

Randomness contained in two variables together




Question 6


Conditional Entropy
Correct!

H(y|x)=-∑p(x,y)log₂p(y|x)

Randomness of one variable given the other variable




Question 7


Entropy if x and y are independent
Correct!

H(Y|X)=H(Y) Y doesn't get any info from x
H(X,Y)=H(X)+H(Y) Joint entropy is sum

, Question 8


Mutual Information
Correct!

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




Question 9


Kullback-Leibler Divergence
Correct!

Always non-negative
Zero when P is equal to Q
Measures distance between any two distributions




Question 10


Supervised Learning
Correct!

Use labeled training data to generalize labels to new instances (function approximation)




Question 11


Unsupervised Learning
Correct!

Make sense out of unlabeled data (data description)

Document information

Uploaded on
February 20, 2026
Number of pages
17
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.20

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

Sold
0
Followers
0
Items
564
Last sold
-



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