Fppy section 7.7 Adding Spline model forecast visualization for Boston marathon winning times #39
Closed
presmerats
started this conversation in
Error report
Replies: 1 comment
|
We've now added piecewise linear trends to this example in https://otexts.com/fpppy/nbs/07-regression.html#example-boston-marathon-winning-times |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, I've been working on a version of the Spline model forecast for the Boston Marathon winning times in Python trying to replicate the R version of it. It uses the libraries presented in "An introduction to statistical learning” by James et al. from its python version, available on the ISLP package.

The code can be added and run just after the one in section 7.7, as it uses different elements defined there (boston_men, futr_df). Here it is:
All reactions