Hi everyone, Is there any way to get fitted values...
# general
n
Hi everyone, Is there any way to get fitted values in statsforecast spark pipeline (FugueBackend), right now there are only two functions forecast and cross_validation_fitted_values
s
have you tried calling
cross_validate(fitted=True)
, then
cross_validation_fitted_values()
?
n
Hi Sam, But there is no function cross_validate for spark FugueBackend, may you please share some snippet
s
Ah my apologies - wasn't aware of that
m
Thanks @Nitin Kandpal, currently the dist engines don't support returning the fitted values. If that is something you need, we could definitely work on it. It that is the case, could you open a GitHub issue here.
And thanks @Sam Miller!
n
Hi @Max (Nixtla), Thank you for your reply. There is already a ticket for this request : https://github.com/Nixtla/statsforecast/issues/382
m
Thanks! You are right.
n
Hi @Max (Nixtla), in the mean time is there any other way I can get the fitted value while I am using spark dataframes (distributed environment)
f
hey @Nitin Kandpal! An alternative would be to modify by hand the
FugueBanckend
class to return the fitted values (https://github.com/Nixtla/statsforecast/blob/main/statsforecast/distributed/fugue.py#L47).
h
i think maybe we can add that
and end users should not need to use FugueBackend, fugue should be implicit now