<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>HW2 (new posts)</title>
		<link>http://rl-tau-2019.wikidot.com/forum/c-5177831/hw2</link>
		<description>Posts in the forum category &quot;HW2&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Thu, 16 Jul 2026 07:40:42 +0000</lastBuildDate>
		
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-11025281#post-4212467</guid>
				<title>couldn&#039;t connect to display &quot;gate.tau.ac.il:0&quot;: Re: couldn&#039;t connect to display &quot;gate.tau.ac.il:0&quot;</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-11025281/couldn-t-connect-to-display-gate-tau-ac-il:0#post-4212467</link>
				<description></description>
				<pubDate>Mon, 08 Apr 2019 09:33:59 +0000</pubDate>
				<wikidot:authorName>Lee Cohen</wikidot:authorName>				<wikidot:authorUserId>5195429</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The gate does not support graphics, you should either turn the graphics off or connect via VPN.</p> <p>You can check out Vered's post for instructions:<br /> <a href="http://rl-tau-2019.wikidot.com/forum/t-10700213#post-4190456">http://rl-tau-2019.wikidot.com/forum/t-10700213#post-4190456</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-11025281#post-4211527</guid>
				<title>couldn&#039;t connect to display &quot;gate.tau.ac.il:0&quot;: couldn&#039;t connect to display &quot;gate.tau.ac.il:0&quot;</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-11025281/couldn-t-connect-to-display-gate-tau-ac-il:0#post-4211527</link>
				<description></description>
				<pubDate>Sun, 07 Apr 2019 15:31:47 +0000</pubDate>
				<wikidot:authorName>Er Mar</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I recieved this error when attempting to run the code on nova remotely.<br /> When I ran the code from Schreiber's lab and from my computer everything worked fine, what is this error?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10925575#post-4204710</guid>
				<title>Programming - not making in nova: Re: Programming - not making in nova</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10925575/programming-not-making-in-nova#post-4204710</link>
				<description></description>
				<pubDate>Mon, 01 Apr 2019 20:13:22 +0000</pubDate>
				<wikidot:authorName>Vered Zilberstein</wikidot:authorName>				<wikidot:authorUserId>5248283</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Try to add env.close() at the end of the file and make sure you don't call plt.show() (which stays idle until you close the image).</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10925575#post-4204570</guid>
				<title>Programming - not making in nova: Programming - not making in nova</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10925575/programming-not-making-in-nova#post-4204570</link>
				<description></description>
				<pubDate>Mon, 01 Apr 2019 17:36:02 +0000</pubDate>
				<wikidot:authorName>Amit</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> the line env = gym.make('FrozenLake-v0') does not work on the nova for us.<br /> it runs and do not end.. (no error or something, all we know is that it gets to this line in the code and not further).</p> <p>Any ideas to why it happens?</p> <p>thanks</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10904555#post-4203978</guid>
				<title>Programming Q1 - Duplicate states in mdp.P: Re: Programming Q1 - Duplicate states in mdp.P</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10904555/programming-q1-duplicate-states-in-mdp-p#post-4203978</link>
				<description></description>
				<pubDate>Mon, 01 Apr 2019 08:45:20 +0000</pubDate>
				<wikidot:authorName>Lee Cohen</wikidot:authorName>				<wikidot:authorUserId>5195429</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>If you iterate over all the values in the mdp.P[state][action] when you calculate the current value iteration it should be fine.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10904555#post-4203278</guid>
				<title>Programming Q1 - Duplicate states in mdp.P: Programming Q1 - Duplicate states in mdp.P</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10904555/programming-q1-duplicate-states-in-mdp-p#post-4203278</link>
				<description></description>
				<pubDate>Sun, 31 Mar 2019 18:23:27 +0000</pubDate>
				<wikidot:authorName>Gal</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>In mdp.P, the following holds according to the comments:<br /> for every (state,action), mdp.P[state][action] is a list of (probability,next_state,reward) tuples.<br /> is it okay for this list to contain duplicate state, for example:<br /> P[0][0] = [(0.3333333333333333, 0, 0.0), (0.3333333333333333, 0, 0.0), (0.3333333333333333, 4, 0.0)]</p> <p>if so - what should we do with these duplicates?</p> <p>Thanks</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10805305#post-4197640</guid>
				<title>Theoretical Q2.1: Re: Theoretical Q2.1</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10805305/theoretical-q2-1#post-4197640</link>
				<description></description>
				<pubDate>Tue, 26 Mar 2019 15:24:57 +0000</pubDate>
				<wikidot:authorName>Lee Cohen</wikidot:authorName>				<wikidot:authorUserId>5195429</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>We always wish to minimize the number of states (that contains enough information for the optimal policy),<br /> since the computation complexity of the Value Iteration depends on it.<br /> You have to incorporate the randomness of the current new digit d in the states since the (optimal) policy should consider it.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10805305#post-4197394</guid>
				<title>Theoretical Q2.1: Theoretical Q2.1</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10805305/theoretical-q2-1#post-4197394</link>
				<description></description>
				<pubDate>Tue, 26 Mar 2019 11:03:24 +0000</pubDate>
				<wikidot:authorName>Vered Zilberstein</wikidot:authorName>				<wikidot:authorUserId>5248283</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>We are asked to build an MDP.<br /> On the one hand the hint suggests that we &quot;may incorporate the random d&quot; (include it as part of the state space?)<br /> On the other hand the random d is not a part of the MDP i.e. the MDP should only care which slots are empty/occupied.<br /> What should we do?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10778991#post-4197356</guid>
				<title>Theoretical part - Ex.2: value iteration</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10778991/theoretical-part-ex-2#post-4197356</link>
				<description></description>
				<pubDate>Tue, 26 Mar 2019 09:58:30 +0000</pubDate>
				<wikidot:authorName>Lee Cohen</wikidot:authorName>				<wikidot:authorUserId>5195429</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I suppose you mean Value Iteration.<br /> Both definitions are equal- recall that</p> <span class="equation-number">(1)</span> <div class="math-equation" id="equation-208022-1">\begin{align} R(s,a):=E_{s'}[R(s,a,s')]=\sum_{s'}P(s,a,s')R(s,a,s') \end{align}</div> <p>The rest are simply notional differences.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10778991#post-4197292</guid>
				<title>Theoretical part - Ex.2: </title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10778991/theoretical-part-ex-2#post-4197292</link>
				<description></description>
				<pubDate>Tue, 26 Mar 2019 08:31:06 +0000</pubDate>
				<wikidot:authorName>or wolkomir</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>In the lecture we learned a function for the &quot;value function&quot;. While in the HW in question 1 of the programming part we can see a different function representing the &quot;value function&quot;.</p> <p>Which function should we use in question 2 in the theoretical part?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10778991#post-4196827</guid>
				<title>Theoretical part - Ex.2: </title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10778991/theoretical-part-ex-2#post-4196827</link>
				<description></description>
				<pubDate>Mon, 25 Mar 2019 22:01:29 +0000</pubDate>
				<wikidot:authorName>Lee Cohen</wikidot:authorName>				<wikidot:authorUserId>5195429</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Look at the definition of the transition probability matrix.<br /> You should define it for every states s,s' and action a.<br /> A probability p(s'|s,a) can't be 'invalid'- think what should be the value in these cases.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10778991#post-4196757</guid>
				<title>Theoretical part - Ex.2: </title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10778991/theoretical-part-ex-2#post-4196757</link>
				<description></description>
				<pubDate>Mon, 25 Mar 2019 19:54:06 +0000</pubDate>
				<wikidot:authorName>Amit Zohar</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>So what do we do with the transition probability function? Should we define the probability of the next state given some s, and an action that is invalid? or just ignore it?<br /> Thanks</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10778991#post-4196256</guid>
				<title>Theoretical part - Ex.2: Re: Theoretical part - Ex.2</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10778991/theoretical-part-ex-2#post-4196256</link>
				<description></description>
				<pubDate>Mon, 25 Mar 2019 09:31:04 +0000</pubDate>
				<wikidot:authorName>Lee Cohen</wikidot:authorName>				<wikidot:authorUserId>5195429</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>A<sub>t</sub> is not part of the MDP.<br /> In order to define an MDP you need to define A, a set of <strong>all</strong> possible actions.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10778991#post-4195725</guid>
				<title>Theoretical part - Ex.2: Theoretical part - Ex.2</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10778991/theoretical-part-ex-2#post-4195725</link>
				<description></description>
				<pubDate>Sun, 24 Mar 2019 18:42:36 +0000</pubDate>
				<wikidot:authorName>amitz</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I'm having some problems defining an MDP for this problem, as the valid actions change depending on the current state (putting a number in a taken cell is forbidden, and the contents of the cells is represented in the current state)<br /> Can you elaborate as to how we should define an MDP in this case? Should we ignore the possibility of an invalid action?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://rl-tau-2019.wikidot.com/forum/t-10724076#post-4191578</guid>
				<title>Issues with &quot;from gym.spaces import prng&quot;: Issues with &quot;from gym.spaces import prng&quot;</title>
				<link>http://rl-tau-2019.wikidot.com/forum/t-10724076/issues-with-from-gym-spaces-import-prng#post-4191578</link>
				<description></description>
				<pubDate>Wed, 20 Mar 2019 20:11:13 +0000</pubDate>
				<wikidot:authorName>Vered Zilberstein</wikidot:authorName>				<wikidot:authorUserId>5248283</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>tl;dr: pip install gym==0.10.3</p> <p>For those of you who use the latest version of gym (0.12.0), the above import will not work.<br /> That is because openai removed it in version 0.11.0: <a href="https://github.com/openai/gym">https://github.com/openai/gym</a><br /> My advice for you is to downgrade gym version to match the version installed on nova, which is 0.10.3.<br /> See tl;dr for suggested way to downgrade.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>