Skip to content

Commit

Permalink
edits following TR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
benman1 committed Oct 18, 2020
1 parent 69c5ebd commit 9cde734
Show file tree
Hide file tree
Showing 8 changed files with 2,492 additions and 6,880 deletions.
2,789 changes: 1,397 additions & 1,392 deletions chapter03/Recommending products.ipynb

Large diffs are not rendered by default.

1,567 changes: 261 additions & 1,306 deletions chapter04/Diagnosing a disease.ipynb

Large diffs are not rendered by default.

2,366 changes: 274 additions & 2,092 deletions chapter04/Predicting stock prices with confidence.ipynb

Large diffs are not rendered by default.

202 changes: 57 additions & 145 deletions chapter05/Finding the shortest path.ipynb

Large diffs are not rendered by default.

1,789 changes: 280 additions & 1,509 deletions chapter05/Making decisions based on knowledge.ipynb

Large diffs are not rendered by default.

457 changes: 188 additions & 269 deletions chapter05/Solving the n-queens problem.ipynb

Large diffs are not rendered by default.

163 changes: 33 additions & 130 deletions chapter05/Writing a chess engine with Monte Carlo tree search.ipynb

Large diffs are not rendered by default.

39 changes: 2 additions & 37 deletions chapter06/Controling a cartpole.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@
"ray.init(ignore_reinit_error=True)\n",
"trainer = PPOTrainer\n",
"\n",
"# if you run this on colab you might want to set num_workers=2\n",
"analysis = tune.run(\n",
" trainer,\n",
" stop={'episode_reward_mean': 100},\n",
Expand All @@ -781,42 +782,6 @@
")"
]
},
{
"cell_type": "code",
"execution_count": 74,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting keras-rl\n",
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/ab/87/4b57eff8e4bd834cea0a75cd6c58198c9e42be29b600db9c14fafa72ec07/keras-rl-0.4.2.tar.gz (40kB)\n",
"\u001b[K |████████████████████████████████| 40kB 320kB/s eta 0:00:01\n",
"\u001b[?25hCollecting keras>=2.0.7 (from keras-rl)\n",
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/ad/fd/6bfe87920d7f4fd475acd28500a42482b6b84479832bdc0fe9e589a60ceb/Keras-2.3.1-py2.py3-none-any.whl (377kB)\n",
"\u001b[K |████████████████████████████████| 378kB 1.2MB/s eta 0:00:01\n",
"\u001b[?25hRequirement already satisfied: h5py in ./anaconda3/lib/python3.7/site-packages (from keras>=2.0.7->keras-rl) (2.10.0)\n",
"Requirement already satisfied: pyyaml in ./anaconda3/lib/python3.7/site-packages (from keras>=2.0.7->keras-rl) (5.1.2)\n",
"Requirement already satisfied: six>=1.9.0 in ./anaconda3/lib/python3.7/site-packages (from keras>=2.0.7->keras-rl) (1.12.0)\n",
"Requirement already satisfied: keras-applications>=1.0.6 in ./anaconda3/lib/python3.7/site-packages (from keras>=2.0.7->keras-rl) (1.0.8)\n",
"Requirement already satisfied: keras-preprocessing>=1.0.5 in ./anaconda3/lib/python3.7/site-packages (from keras>=2.0.7->keras-rl) (1.1.0)\n",
"Requirement already satisfied: numpy>=1.9.1 in ./anaconda3/lib/python3.7/site-packages (from keras>=2.0.7->keras-rl) (1.17.2)\n",
"Requirement already satisfied: scipy>=0.14 in ./anaconda3/lib/python3.7/site-packages (from keras>=2.0.7->keras-rl) (1.4.1)\n",
"Building wheels for collected packages: keras-rl\n",
" Building wheel for keras-rl (setup.py) ... \u001b[?25ldone\n",
"\u001b[?25h Created wheel for keras-rl: filename=keras_rl-0.4.2-cp37-none-any.whl size=48380 sha256=c10a55df3269b59b5b41a9cafa9d7b283eed7a64947d55d910374e568d87aa9b\n",
" Stored in directory: /home/ben/.cache/pip/wheels/7d/4d/84/9254c9f2e8f51865cb0dac8e79da85330c735551d31f73c894\n",
"Successfully built keras-rl\n",
"Installing collected packages: keras, keras-rl\n",
"Successfully installed keras-2.3.1 keras-rl-0.4.2\n"
]
}
],
"source": [
"!pip install keras-rl\n"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -841,7 +806,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.6.11"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 9cde734

Please sign in to comment.