Created
July 28, 2022 20:28
-
-
Save erykml/6a658f022022cfe1bf8064ecfb94703c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rbf = RepeatingBasisFunction(n_periods=12, | |
column="day_of_year", | |
input_range=(1,365), | |
remainder="drop") | |
rbf.fit(X) | |
X_3 = pd.DataFrame(index=X.index, | |
data=rbf.transform(X)) | |
X_3.plot(subplots=True, figsize=(14, 8), | |
sharex=True, title="Radial Basis Functions", | |
legend=False); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment