Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Fixed what I believe are typos #36

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions notebooks/GridWorld.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
" reward_states::Vector{GridWorldState} # the states in which agent recieves reward\n",
" reward_values::Vector{Float64} # reward values for those states\n",
" tprob::Float64 # probability of transitioning to the desired state\n",
" discount_factor::Float64 # disocunt factor\n",
" discount_factor::Float64 # discount factor\n",
"end"
]
},
Expand Down Expand Up @@ -279,7 +279,7 @@
"source": [
"function POMDPs.states(mdp::GridWorld)\n",
" s = GridWorldState[] # initialize an array of GridWorldStates\n",
" # loop over all our states, remeber there are two binary variables:\n",
" # loop over all our states, remember there are two binary variables:\n",
" # done (d)\n",
" for d = 0:1, y = 1:mdp.size_y, x = 1:mdp.size_x\n",
" push!(s, GridWorldState(x,y,d))\n",
Expand Down Expand Up @@ -698,7 +698,7 @@
"metadata": {},
"source": [
"```julia\n",
"POMDPs.add(\"DiscreteValueIteration\")\n",
"Pkg.add(\"DiscreteValueIteration\")\n",
"```"
]
},
Expand Down Expand Up @@ -804,7 +804,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Remeber that the state (9,3) has an immediate reward of +10.0, so the policy we found is moving up as expected!"
"Remember that the state (9,3) has an immediate reward of +10.0, so the policy we found is moving up as expected!"
]
},
{
Expand Down Expand Up @@ -950,7 +950,7 @@
"metadata": {},
"source": [
"```julia\n",
"POMDPs.add(\"MCTS\")\n",
"Pkg.add(\"MCTS\")\n",
"```"
]
},
Expand Down
Loading