-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] Add various Kolmogorov-Arnold Networks using PyKAN #6390
Comments
we will also need to discuss how to deal with the high runtimes, e.g., in tests |
@fkiraly is this potentially solvable by using |
no, I think the runtime comes from the |
I suppose, we can control the runtime by specifying the parameters in the get_params_test. I.e., selecting small grid sizes and small number of steps. |
that might work, if the parameters allow that kind of control |
Towards #6390 ```python from sktime.forecasting.pykan_forecaster import PyKANForecaster from sktime.datasets import load_airline forecaster = PyKANForecaster() forecaster.fit(load_airline(), fh=range(12)) prediction = forecaster.predict() import matplotlib.pyplot as plt plt.plot(prediction.detach().numpy().flatten(), label="Prediction") plt.plot(test_target[0].detach().numpy().flatten(), label="True") plt.show() ``` #### Reference Issues/PRs #6390 #### What does this implement/fix? Explain your changes. Add a simple PyKAN based forecaster #### Does your contribution introduce a new dependency? If yes, which one? pykan
Towards sktime#6390 ```python from sktime.forecasting.pykan_forecaster import PyKANForecaster from sktime.datasets import load_airline forecaster = PyKANForecaster() forecaster.fit(load_airline(), fh=range(12)) prediction = forecaster.predict() import matplotlib.pyplot as plt plt.plot(prediction.detach().numpy().flatten(), label="Prediction") plt.plot(test_target[0].detach().numpy().flatten(), label="True") plt.show() ``` #### Reference Issues/PRs sktime#6390 #### What does this implement/fix? Explain your changes. Add a simple PyKAN based forecaster #### Does your contribution introduce a new dependency? If yes, which one? pykan
Is your feature request related to a problem? Please describe.
This issue proposes to add support for pyKAN based models
Potential Estimators:
The text was updated successfully, but these errors were encountered: