Open mdancho84 opened 3 years ago
Where would those functions have to be created? Here in modeltime.gluonts
or over at https://github.com/tidymodels/dials/?
Hey @flrs , the way I would do it is in the modeltime.gluonts
package by creating a file named: dials-deepar_params.R and adding the missing functions.
An example is in modeltime
for dials-prophet_params.R: https://github.com/business-science/modeltime/blob/master/R/dials-prophet_params.R
We need to be careful because we don't want to overwrite other dials parameters that may exist. Otherwise, I'll get hate-mail saying my function is overwriting another tidymodels or R package's function. A few packages we can review are:
The important thing is to either use the same function as a common dials package or to create something new that others won't overwrite.
Problem
Code like this fails.
Error Returned:
Proposed Solution
Create
dials
functions for tuning parameters.