Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CS 7641 OL Unit Quiz V1 | Questions and Solutions | 2026 Update | 100% Correct.

Beoordeling
-
Verkocht
-
Pagina's
9
Cijfer
A+
Geüpload op
29-04-2026
Geschreven in
2025/2026

CS 7641 OL Unit Quiz V1 | Questions and Solutions | 2026 Update | 100% Correct.

Instelling
Vak

Voorbeeld van de inhoud

OL Unit Quiz
CS 7641: Machine Learning
Solutions
DO NOT DISTRIBUTE OUTSIDE OF CS7641




1 Section 1 - Randomized Optimization
Part 1. Genetic Algorithms (MCMA)
Which statements about GAs are true? Select all that apply.
a) Typical loop: initialize population to evaluate fitness to select parents to crossover/mutation
to form next generation.
b) Elitism copies the top few individuals unchanged to preserve best-so-far fitness.
c) Excessive selection pressure can cause premature convergence and loss of diversity.
d) GA encodings must be binary; real-valued representations are invalid.
e) Roulette-wheel selection always dominates tournament selection.
f) GAs require a convex objective for convergence guarantees.
Answer key: a, b, c.

Part 2. MIMIC: Model Building & Sampling (MCMA)
Which statements describe MIMIC correctly? Select all that apply.
a) Select an elite set, fit a probabilistic model to those elites, and sample new candidates from
that model.
b) Uses a tree-structured distribution learned via a maximum-weight spanning tree on pairwise
mutual information (Chow–Liu).
c) If you assume full independence across variables, MIMIC reduces to an EDA with factorized
marginals.
d) MIMIC requires gradients to update its model parameters.
e) The dependency structure is learned from the elite samples, biasing search toward promising
regions.
f) If the learned tree is imperfect, MIMIC can never sample better solutions.
Answer key: a, b, c, e.

1

, Part 3. Simulated Annealing (Numerical)
A simulated annealing (SA) optimizer uses the Metropolis rule: an uphill move with cost increase
∆E > 0 at temperature T is accepted with probability exp(−∆E/T ); a downhill move (∆E < 0)
is accepted with probability 1. Unless stated otherwise, assume independent proposals.

(a): Single uphill move at fixed temperature At temperature T = 2.5, the algorithm
proposes a single uphill move with ∆E = 1.2. Question: What is the acceptance probability?
Answer (number): 0.619
Derivation: p = exp(−∆E/T ) = exp(−1.2/2.5) = exp(−0.48) ≈ 0.619.

(b): Geometric cooling and acceptance SA uses geometric cooling Tk = T0 α k with T0 = 10,
α = 0.9. After k = 20 temperature drops, an uphill move with ∆E = 0.8 is proposed. Question:
What is the acceptance probability at step k = 20?
Answer (number): 0.518
Derivation: T20 = 10·0.920 ≈ 10·0.1215767 = 1.215767. p = exp(−0.8/T20 ) = exp(−0.8/1.215767) ≈
exp(−0.6587) ≈ 0.518.

(c): Multiple independent proposals at the same temperature At the same temperature
as in Part (b), the algorithm makes m = 5 independent uphill proposals, each with the same
∆E = 0.8. Question: What is the probability that at least one of these five proposals is accepted?
Answer (number): 0.974
Derivation: From Part (b), single-trial acceptance p ≈ 0.518. P (at least one accept) = 1−(1−p)5 ≈
1 − (1 − 0.518)5 = 1 − (0.482)5 ≈ 1 − 0.026 ≈ 0.974.
Note: All numbers rounded to three decimal places.




2

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
29 april 2026
Aantal pagina's
9
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$15.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Wiseman NURSING
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
7783
Lid sinds
4 jaar
Aantal volgers
3878
Documenten
29052
Laatst verkocht
2 uur geleden
Premier Academic Solutions

3.9

1588 beoordelingen

5
774
4
289
3
245
2
92
1
188

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen