typo in problem 5 code

This commit is contained in:
Steven G. Johnson 2023-02-28 14:26:10 -05:00 committed by GitHub
parent c3b34534b0
commit e733f23f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,7 @@
"\n", "\n",
"# construct your A and b from M=8 and find β\n", "# construct your A and b from M=8 and find β\n",
"M = 8\n", "M = 8\n",
"A, b = autoregressive_model(training_data[1:end-100], M)\n", "A, b = autoregressive_model(training_data, M)\n",
"β = A \\ b # least-square fit" "β = A \\ b # least-square fit"
] ]
}, },