Skip to content
Open
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
2 changes: 1 addition & 1 deletion CH01/CH01_SEC04_1_Linear.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"b = x*a + np.random.randn(*a.shape) # Add noise\n",
"\n",
"plt.plot(a, x*a, color='k', linewidth=2, label='True line') # True relationship\n",
"plt.plot(a, b, 'x', color='r', MarkerSize = 10, label='Noisy data') # Noisy measurements\n",
"plt.plot(a, b, 'x', color='r', markersize = 10, label='Noisy data') # Noisy measurements\n",
"\n",
"U, S, VT = np.linalg.svd(a,full_matrices=False)\n",
"xtilde = VT.T @ np.linalg.inv(np.diag(S)) @ U.T @ b # Least-square fit\n",
Expand Down