Skip to content

Commit 0e4ae59

Browse files
committed
Merge branch 'master' of github.com:ageron/handson-ml2
2 parents fabd609 + fa59c0e commit 0e4ae59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

02_end_to_end_machine_learning_project.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@
14611461
"\n",
14621462
"prices = housing[\"median_house_value\"]\n",
14631463
"tick_values = np.linspace(prices.min(), prices.max(), 11)\n",
1464-
"cbar = plt.colorbar()\n",
1464+
"cbar = plt.colorbar(ticks=tick_values/prices.max())\n",
14651465
"cbar.ax.set_yticklabels([\"$%dk\"%(round(v/1000)) for v in tick_values], fontsize=14)\n",
14661466
"cbar.set_label('Median House Value', fontsize=16)\n",
14671467
"\n",

INSTALL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If you have a TensorFlow-compatible GPU card (NVidia card with Compute Capabilit
2727
If you want to use a GPU then you should also edit environment.yml (or environment-windows.yml if you're on Windows), located at the root of the handson-ml2 project, replace tensorflow=2.0.0 with tensorflow-gpu=2.0.0, and replace tensorflow-serving-api==2.0.0 with tensorflow-serving-api-gpu==2.0.0. This will not be needed anymore when TensorFlow 2.1 is released.
2828

2929
## Create the tf2 Environment
30-
Next, make sure you're in the handson-ml2 directory and run the following command. It will create a new `conda` enviromnent containing every library you will need to run all the notebooks (by default, the environment will be named `tf2`, but you can choose another name using the `-n` option):
30+
Next, make sure you're in the handson-ml2 directory and run the following command. It will create a new `conda` environment containing every library you will need to run all the notebooks (by default, the environment will be named `tf2`, but you can choose another name using the `-n` option):
3131

3232
$ conda env create -f environment.yml # or environment-windows.yml on Windows
3333

0 commit comments

Comments
 (0)