import{s as W,n as Y,o as J}from"../chunks/scheduler.ef843396.js";import{S as X,i as Z,e as s,s as i,c as A,h as ee,a as r,d as n,b as l,f as B,g as G,j as _,k as D,l as te,m as a,n as N,t as z,o as K,p as V}from"../chunks/index.05ef1181.js";import{H as ne,E as ae}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.ef6649bf.js";function ie(Q){let o,w,b,$,u,x,p,F="<p>What we’ve talked about so far is Reinforcement Learning. But where does the “Deep” come into play?</p>",T,m,I="Deep Reinforcement Learning introduces <strong>deep neural networks to solve Reinforcement Learning problems</strong> — hence the name “deep”.",H,c,S="For instance, in the next unit, we’ll learn about two value-based algorithms: Q-Learning (classic Reinforcement Learning) and then Deep Q-Learning.",M,f,U="You’ll see the difference is that, in the first approach, <strong>we use a traditional algorithm</strong> to create a Q table that helps us find what action to take for each state.",C,h,q="In the second approach, <strong>we will use a Neural Network</strong> (to approximate the Q value).",P,d,O='<img src="https://huggingface.co/datasets/huggingface-deep-rl-course/course-images/resolve/main/en/unit1/deep.jpg" alt="Value based RL"/> <figcaption>Schema inspired by the Q learning notebook by Udacity</figcaption>',y,g,j='If you are not familiar with Deep Learning you should definitely watch <a href="https://course.fast.ai" rel="nofollow">the FastAI Practical Deep Learning for Coders</a> (Free).',R,L,k,v,E;return u=new ne({props:{title:"The “Deep” in Reinforcement Learning",local:"deep-rl",headingTag:"h1"}}),L=new ae({props:{source:"https://github.com/huggingface/deep-rl-class/blob/main/units/en/unit1/deep-rl.mdx"}}),{c(){o=s("meta"),w=i(),b=s("p"),$=i(),A(u.$$.fragment),x=i(),p=s("blockquote"),p.innerHTML=F,T=i(),m=s("p"),m.innerHTML=I,H=i(),c=s("p"),c.textContent=S,M=i(),f=s("p"),f.innerHTML=U,C=i(),h=s("p"),h.innerHTML=q,P=i(),d=s("figure"),d.innerHTML=O,y=i(),g=s("p"),g.innerHTML=j,R=i(),A(L.$$.fragment),k=i(),v=s("p"),this.h()},l(e){const t=ee("svelte-u9bgzb",document.head);o=r(t,"META",{name:!0,content:!0}),t.forEach(n),w=l(e),b=r(e,"P",{}),B(b).forEach(n),$=l(e),G(u.$$.fragment,e),x=l(e),p=r(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),_(p)!=="svelte-13nbnb1"&&(p.innerHTML=F),T=l(e),m=r(e,"P",{"data-svelte-h":!0}),_(m)!=="svelte-mylgu3"&&(m.innerHTML=I),H=l(e),c=r(e,"P",{"data-svelte-h":!0}),_(c)!=="svelte-8n3ni4"&&(c.textContent=S),M=l(e),f=r(e,"P",{"data-svelte-h":!0}),_(f)!=="svelte-twg46x"&&(f.innerHTML=U),C=l(e),h=r(e,"P",{"data-svelte-h":!0}),_(h)!=="svelte-4us9n7"&&(h.innerHTML=q),P=l(e),d=r(e,"FIGURE",{"data-svelte-h":!0}),_(d)!=="svelte-u098e4"&&(d.innerHTML=O),y=l(e),g=r(e,"P",{"data-svelte-h":!0}),_(g)!=="svelte-1b8mx3n"&&(g.innerHTML=j),R=l(e),G(L.$$.fragment,e),k=l(e),v=r(e,"P",{}),B(v).forEach(n),this.h()},h(){D(o,"name","hf:doc:metadata"),D(o,"content",le),D(p,"class","tip")},m(e,t){te(document.head,o),a(e,w,t),a(e,b,t),a(e,$,t),N(u,e,t),a(e,x,t),a(e,p,t),a(e,T,t),a(e,m,t),a(e,H,t),a(e,c,t),a(e,M,t),a(e,f,t),a(e,C,t),a(e,h,t),a(e,P,t),a(e,d,t),a(e,y,t),a(e,g,t),a(e,R,t),N(L,e,t),a(e,k,t),a(e,v,t),E=!0},p:Y,i(e){E||(z(u.$$.fragment,e),z(L.$$.fragment,e),E=!0)},o(e){K(u.$$.fragment,e),K(L.$$.fragment,e),E=!1},d(e){e&&(n(w),n(b),n($),n(x),n(p),n(T),n(m),n(H),n(c),n(M),n(f),n(C),n(h),n(P),n(d),n(y),n(g),n(R),n(k),n(v)),n(o),V(u,e),V(L,e)}}}const le='{"title":"The “Deep” in Reinforcement Learning","local":"deep-rl","sections":[],"depth":1}';function se(Q){return J(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ue extends X{constructor(o){super(),Z(this,o,se,ie,W,{})}}export{ue as component};
