AlbertoAlmuinha / bayesmodels

The Tidymodels Extension for Bayesian Models
https://albertoalmuinha.github.io/bayesmodels/
Other
54 stars 9 forks source link

bayesmodels::exponential_smoothing() runs forever... #12

Open Steviey opened 2 years ago

Steviey commented 2 years ago

Ubuntu LTS, R latest, boostime latest, modeltime latest. exponential_smoothing() runs forever... Is there a way to reach rlgt.control() to get access to iterations etc.? I tried set_engine('stan',iter=100) with no success.

Please don't give up with maintaining this package! It has great potential, since the bayes-thingy can be a nightmare manually.

AlbertoAlmuinha commented 2 years ago

Hi,

Sorry for the delay,

This should work:

model_spec <- exponential_smoothing() %>%
    set_engine("stan", control = Rlgt::rlgt.control(NUM_OF_ITER = 100))

In the set_engine function you just need to call the additional arguments just like in the original function to work.

Regards,