import{s as I,n as O,o as J}from"../chunks/scheduler.37c15a92.js";import{S as K,i as N,g as u,s as i,r as A,A as V,h as g,f as n,c as r,j as B,u as R,x as q,k as F,y as X,a,v as D,d as E,t as k,w as S}from"../chunks/index.7cb9c9b8.js";import{H as Q,E as Y}from"../chunks/index.e79b7fff.js";function Z(U){let l,v,$,L,o,w,s,z="These are <strong>optional readings</strong> if you want to go deeper.",x,m,T,d,G="To dive deeper into Monte Carlo and Temporal Difference Learning:",b,f,W='<li><a href="https://stats.stackexchange.com/questions/355820/why-do-temporal-difference-td-methods-have-lower-variance-than-monte-carlo-met">Why do temporal difference (TD) methods have lower variance than Monte Carlo methods?</a></li> <li><a href="https://stats.stackexchange.com/questions/336974/when-are-monte-carlo-methods-preferred-over-temporal-difference-ones">When are Monte Carlo methods preferred over temporal difference ones?</a></li>',C,p,M,h,j='<li><a href="http://incompleteideas.net/book/RLbook2020.pdf">Reinforcement Learning: An Introduction, Richard Sutton and Andrew G. Barto Chapter 5, 6 and 7</a></li> <li><a href="https://youtu.be/Psrhxy88zww">Foundations of Deep RL Series, L2 Deep Q-Learning by Pieter Abbeel</a></li>',y,c,P,_,H;return o=new Q({props:{title:"Additional Readings",local:"additional-readings",headingTag:"h1"}}),m=new Q({props:{title:"Monte Carlo and TD Learning",local:"mc-td",headingTag:"h2"}}),p=new Q({props:{title:"Q-Learning",local:"q-learning",headingTag:"h2"}}),c=new Y({props:{source:"https://github.com/huggingface/deep-rl-class/blob/main/units/en/unit2/additional-readings.mdx"}}),{c(){l=u("meta"),v=i(),$=u("p"),L=i(),A(o.$$.fragment),w=i(),s=u("p"),s.innerHTML=z,x=i(),A(m.$$.fragment),T=i(),d=u("p"),d.textContent=G,b=i(),f=u("ul"),f.innerHTML=W,C=i(),A(p.$$.fragment),M=i(),h=u("ul"),h.innerHTML=j,y=i(),A(c.$$.fragment),P=i(),_=u("p"),this.h()},l(e){const t=V("svelte-u9bgzb",document.head);l=g(t,"META",{name:!0,content:!0}),t.forEach(n),v=r(e),$=g(e,"P",{}),B($).forEach(n),L=r(e),R(o.$$.fragment,e),w=r(e),s=g(e,"P",{"data-svelte-h":!0}),q(s)!=="svelte-19yxmer"&&(s.innerHTML=z),x=r(e),R(m.$$.fragment,e),T=r(e),d=g(e,"P",{"data-svelte-h":!0}),q(d)!=="svelte-9xq7la"&&(d.textContent=G),b=r(e),f=g(e,"UL",{"data-svelte-h":!0}),q(f)!=="svelte-c10bab"&&(f.innerHTML=W),C=r(e),R(p.$$.fragment,e),M=r(e),h=g(e,"UL",{"data-svelte-h":!0}),q(h)!=="svelte-i2a184"&&(h.innerHTML=j),y=r(e),R(c.$$.fragment,e),P=r(e),_=g(e,"P",{}),B(_).forEach(n),this.h()},h(){F(l,"name","hf:doc:metadata"),F(l,"content",ee)},m(e,t){X(document.head,l),a(e,v,t),a(e,$,t),a(e,L,t),D(o,e,t),a(e,w,t),a(e,s,t),a(e,x,t),D(m,e,t),a(e,T,t),a(e,d,t),a(e,b,t),a(e,f,t),a(e,C,t),D(p,e,t),a(e,M,t),a(e,h,t),a(e,y,t),D(c,e,t),a(e,P,t),a(e,_,t),H=!0},p:O,i(e){H||(E(o.$$.fragment,e),E(m.$$.fragment,e),E(p.$$.fragment,e),E(c.$$.fragment,e),H=!0)},o(e){k(o.$$.fragment,e),k(m.$$.fragment,e),k(p.$$.fragment,e),k(c.$$.fragment,e),H=!1},d(e){e&&(n(v),n($),n(L),n(w),n(s),n(x),n(T),n(d),n(b),n(f),n(C),n(M),n(h),n(y),n(P),n(_)),n(l),S(o,e),S(m,e),S(p,e),S(c,e)}}}const ee='{"title":"Additional Readings","local":"additional-readings","sections":[{"title":"Monte Carlo and TD Learning","local":"mc-td","sections":[],"depth":2},{"title":"Q-Learning","local":"q-learning","sections":[],"depth":2}],"depth":1}';function te(U){return J(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class re extends K{constructor(l){super(),N(this,l,te,Z,I,{})}}export{re as component};
