Skip to content

Commit 3c4024e

Browse files
committed
Fix broken image paths in notebooks (remove files/ prefix)
The files/ prefix (a Jupyter classic artifact) does not resolve on GitHub or modern Jupyter since there is no files/ directory; the images live under images/. Point the <img> tags in mdp.ipynb, probability.ipynb and reinforcement_learning.ipynb at images/... directly, consistent with #1302.
1 parent a208742 commit 3c4024e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

mdp.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
"metadata": {},
289289
"source": [
290290
"Now let us implement the simple MDP in the image below. States A, B have actions X, Y available in them. Their probabilities are shown just above the arrows. We start with using MDP as base class for our CustomMDP. Obviously we need to make a few changes to suit our case. We make use of a transition matrix as our transitions are not very simple.\n",
291-
"<img src=\"files/images/mdp-a.png\">"
291+
"<img src=\"images/mdp-a.png\">"
292292
]
293293
},
294294
{

probability.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@
12881288
"\n",
12891289
"The example below where we implement the network shown in **Figure 14.3** of the book will make this more clear.\n",
12901290
"\n",
1291-
"<img src=\"files/images/bayesnet.png\">\n",
1291+
"<img src=\"images/bayesnet.png\">\n",
12921292
"\n",
12931293
"The alarm node can be made as follows: "
12941294
]
@@ -3275,7 +3275,7 @@
32753275
"source": [
32763276
"The function **prior_sample** implements the algorithm described in **Figure 14.13** of the book. Nodes are sampled in the topological order. The old value of the event is passed as evidence for parent values. We will use the Bayesian Network in **Figure 14.12** to try out the **prior_sample**\n",
32773277
"\n",
3278-
"<img src=\"files/images/sprinklernet.jpg\" height=\"500\" width=\"500\">\n",
3278+
"<img src=\"images/sprinklernet.jpg\" height=\"500\" width=\"500\">\n",
32793279
"\n",
32803280
"Traversing the graph in topological order is important.\n",
32813281
"There are two possible topological orderings for this particular directed acyclic graph.\n",

reinforcement_learning.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"cell_type": "markdown",
129129
"metadata": {},
130130
"source": [
131-
"The `sequential_decision_environment` is a GridMDP object as shown below. The rewards are **+1** and **-1** in the terminal states, and **-0.04** in the rest. <img src=\"files/images/mdp.png\"> Now we define actions and a policy similar to **Fig 21.1** in the book."
131+
"The `sequential_decision_environment` is a GridMDP object as shown below. The rewards are **+1** and **-1** in the terminal states, and **-0.04** in the rest. <img src=\"images/mdp.png\"> Now we define actions and a policy similar to **Fig 21.1** in the book."
132132
]
133133
},
134134
{

0 commit comments

Comments
 (0)