-
Notifications
You must be signed in to change notification settings - Fork 215
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
Plans for R support? #14
Comments
Hi Adrian, I would currently put this as low priority for us. I personally am not too familiar or comfortable with R. However we would VERY MUCH welcome contributions for R integration at API level. |
@avati What if I make it available in my R package via reticulate calls to Python for now? |
Hi @AdrianAntico, unfortunately I am not familiar with what reticulate is. Might be good to have R API be part of ngboost to keep the APIs in sync over versions. We do plan to make some simplification changes to the model creation API. Could you create a pull request so we can have a look and discuss? |
@avati reticulate is a package in R that allows R users to call Python functions. An example of its use would be the keras pacakge in R, which is a set of reticulate bindings to call the Python functions to build those models. If you plan on making simplification changes, I can wait till the version is in a steady state before I do anything. |
The plan is to have the following new classes: |
@avati Thanks for the update! |
Closing this issue for now. Please re-open it if there are any updates! |
I have created a R version of NGBoost. |
I have created an R interface which is supporting all APIs and their public methods: Using R6 (OO programming in R) and reticulate (enables running Python in R) |
A forecasting package based on ngboost is available on CRAN: https://cran.r-project.org/web/packages/ngboostForecast/index.html |
@Akai01 I couldn't tell from the reference manual but is the forecasting for single series only at this point or does it support panel data? |
@AdrianAntico It's a univariate time series forecasting technique. Please see the README file for further information on how to supply time series as ts objects. Univariate forecasting is faster since the base algorithm (ngboost) is single-core in nature. I'm also working on a panel version of it, but I don't expect to publish it on CRAN. The modeling strategy is as following: The fitted forecasting model can be formulated as follows: The forecasting is done recursively. |
@Akai01 I didn't know it was a single threaded algorithm. Thanks for the heads up |
@AdrianAntico see #156 |
Are there any plans for implementing this in R?
The text was updated successfully, but these errors were encountered: