Skip to content

Commit

Permalink
change std_val for concistency
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Sep 19, 2017
1 parent 85156a2 commit d69fbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ch15/ch15.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@
"std_val = np.std(X_train)\n",
"\n",
"X_train_centered = (X_train - mean_vals)/std_val\n",
"X_valid_centered = X_valid - mean_vals\n",
"X_valid_centered = (X_valid - mean_vals)/std_val\n",
"X_test_centered = (X_test - mean_vals)/std_val\n",
"\n",
"del X_data, y_data, X_train, X_valid, X_test"
Expand Down

0 comments on commit d69fbe5

Please sign in to comment.