Feature Name: `forecasting_methods`
Start Date: 2019-12-04
Target Date:
Add learners for forecasting methods
We need learners for forecasting methods in order to train and predict forecasting models.
Sometimes, when applying a forecasting method, what occurs is ...
Example:
l = LearnerForecast$new(id = "my_id", some_parameter = 0.5)
l$train(task, row_ids = train_set)
prediction = l
$predict(task, row_ids = test_set)
Internally, the function would look the following:
Example:
LearnerForecast = R6::R6Class("LearnerForecast",
inherit = Learner,
public = list(
initialize = function(id = "forecast") {
super$initialize(
id = id,
param_set = ParamSet$new(),
predict_types = ,
feature_types = ,
properties = ,
packages = ,
)
},
train = function(task) {
},
predict = function(task) {
}
)
)
This design seems fairly obvious choice in the design space. The main alternative to this proposal is not to implement it, and let users to calculate joined subslices from indexes or pointers.
There exists a function that implements the API as here...
This solution would introduce dependencies on the following (additional) packages:
Those packages either depend on or import the following other (additional) packages:
Using this package would allow us to ... instead of re-implementing and maintining N loc ourselves.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.