Skip to content

Commit 24067be

Browse files
committed
BUG Fix variable switch
1 parent d185c61 commit 24067be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch07/figure1_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
print("Mean squared error (of training data): {:.3}".format(mse))
5656

5757
rmse = np.sqrt(mse)
58-
print("Root mean squared error (of training data): {:.3}".format(mse))
58+
print("Root mean squared error (of training data): {:.3}".format(rmse))
5959

6060
cod = r2_score(y, lr.predict(x))
6161
print('COD (on training data): {:.2}'.format(cod))

0 commit comments

Comments
 (0)