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 7643 Quiz 6 Questions and Answers Already Passed Latest Update

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

CS 7643 Quiz 6 Questions and Answers Already Passed Latest Update Reinforcement learning - Answers Sequential decision making in an environment with evaluative feedback Environment: may be unknown, non-linear, stochastic and complex Agent: learns a policy to map states of the environments to actions - seeks to maximize long-term reward RL: Evaluative Feedback - Answers - Pick an action, receive a reward - No supervision for what the correct action is or would have been (unlike supervised learning) RL: Sequential Decisions - Answers - Plan and execution actions over a sequence of states - Reward may be delayed, requiring optimization of future rewards (long-term planning) Signature Challenges in RL - Answers Evaluative Feedback: Need trial and error to find the right action Delayed Feedback: Actions may not lead to immediate reward Non-stationarity: Data distribution of visited states changes when the policy changes Fleeting Nature: of online data (may only see data once) MDP - Answers Framework underlying RL S: Set of states A: Set of actions R: Distribution of Rewards T: Transition probabiliity y: Discount property Markov Property: Current state completely characterizes state of the environment RL: Equations relating optimal quantities - Answers 1. V*(S) = max_a(Q*(s, a) 2. PI*(s) = argmax_a(Q*(s, a) V*(S) - Answers max_a (sum_(s') { p(s'|s, a) [r(s, a) + yV*(s')] } ) Q*(s,a) - Answers sum_(s') { p(s'|s, a) [r(s, a) + y*max_(a'){Q*(s', a') ] } Value Iteration - Answers v_(i+1) = max_a (sum_(s') { p(s'|s, a) [r(s, a) + yV_(i)(s')] } ) - repeat until convergence - Time complexity per iteration O(|S^2| |A|) Policy Iteration - Answers Policy Evaluation: Compute V(pi) Policy Refinement: Greedily change action as per V(Pi) at next states Why do Policy Iteration: PI_i often converges to PI* sooner than V_PI to V_PI* - thus requires few iterations Deep Q-Learning - Answers - Q(s, a; w, b) = w_a^t * s + b_a

Meer zien Lees minder
Instelling
CS 7643
Vak
CS 7643

Voorbeeld van de inhoud

CS 7643 Quiz 6 Questions and Answers Already Passed Latest Update 2025-2026

Reinforcement learning - Answers Sequential decision making in an environment with evaluative
feedback



Environment: may be unknown, non-linear, stochastic and complex

Agent: learns a policy to map states of the environments to actions

- seeks to maximize long-term reward

RL: Evaluative Feedback - Answers - Pick an action, receive a reward

- No supervision for what the correct action is or would have been (unlike supervised learning)

RL: Sequential Decisions - Answers - Plan and execution actions over a sequence of states

- Reward may be delayed, requiring optimization of future rewards (long-term planning)

Signature Challenges in RL - Answers Evaluative Feedback: Need trial and error to find the right
action



Delayed Feedback: Actions may not lead to immediate reward



Non-stationarity: Data distribution of visited states changes when the policy changes



Fleeting Nature: of online data (may only see data once)

MDP - Answers Framework underlying RL

S: Set of states

A: Set of actions

R: Distribution of Rewards

T: Transition probabiliity

y: Discount property

, Markov Property: Current state completely characterizes state of the environment

RL: Equations relating optimal quantities - Answers 1. V*(S) = max_a(Q*(s, a)

2. PI*(s) = argmax_a(Q*(s, a)

V*(S) - Answers max_a (sum_(s') { p(s'|s, a) [r(s, a) + yV*(s')] } )

Q*(s,a) - Answers sum_(s') { p(s'|s, a) [r(s, a) + y*max_(a'){Q*(s', a') ] }

Value Iteration - Answers v_(i+1) = max_a (sum_(s') { p(s'|s, a) [r(s, a) + yV_(i)(s')] } )

- repeat until convergence

- Time complexity per iteration O(|S^2| |A|)

Policy Iteration - Answers Policy Evaluation: Compute V(pi)

Policy Refinement: Greedily change action as per V(Pi) at next states



Why do Policy Iteration: PI_i often converges to PI* sooner than V_PI to V_PI*

- thus requires few iterations

Deep Q-Learning - Answers - Q(s, a; w, b) = w_a^t * s + b_a



MSE Loss := (Q_new(s, a) - (r + y*max_a(Q_old(s', a)))^2



- using a single Q function makes loss function unstable

--> use two Q-tables (NNs)

- Freeze Q_old and update Q_new

- Set Q_old = Q_new at regular intervals

Fitted Q-Iteration - Answers Algorithm to optimize MSE Loss on a fixed dataset

RL: How to Collect Data - Answers Challenge 1: Exploration vs Exploitation



Challenge 2: Non iid, highly correlated data

Geschreven voor

Instelling
CS 7643
Vak
CS 7643

Documentinformatie

Geüpload op
4 oktober 2025
Aantal pagina's
10
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$10.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.
joshuawesonga22 Liberty University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
99
Lid sinds
1 jaar
Aantal volgers
1
Documenten
14163
Laatst verkocht
14 uur geleden
Tutor Wes

Hi there! I'm Tutor Wes, a dedicated tutor with a passion for sharing knowledge and helping others succeed academically. All my notes are carefully organized, detailed, and easy to understand. Whether you're preparing for exams, catching up on lectures, or looking for clear summaries, you'll find useful study materials here. Let’s succeed together!

3.9

9 beoordelingen

5
4
4
1
3
3
2
1
1
0

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