We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When fitting AutoARIMA to a constant series the forecast fitted values will be zeros even though the out of sample forecast will be correct.
library: 1.7.5 Python: 3.12.4 OS: macOS 14.5
from statsforecast import StatsForecast from statsforecast.models import AutoARIMA import pandas as pd import numpy as np
size = 100 df = pd.DataFrame({'unique_id': 0, 'ds': range(size), 'y': np.full(size, 7)})
sf = StatsForecast(models=[AutoARIMA()], freq=1) fcst = sf.forecast(1, df, fitted=True) print(fcst) print()
fitted = sf.forecast_fitted_values() print(fitted)
Low: It annoys or frustrates me.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened + What you expected to happen
When fitting AutoARIMA to a constant series the forecast fitted values will be zeros even though the out of sample forecast will be correct.
Versions / Dependencies
library: 1.7.5
Python: 3.12.4
OS: macOS 14.5
Reproduction script
from statsforecast import StatsForecast
from statsforecast.models import AutoARIMA
import pandas as pd
import numpy as np
size = 100
df = pd.DataFrame({'unique_id': 0, 'ds': range(size), 'y': np.full(size, 7)})
sf = StatsForecast(models=[AutoARIMA()], freq=1)
fcst = sf.forecast(1, df, fitted=True)
print(fcst)
print()
fitted = sf.forecast_fitted_values()
print(fitted)
Issue Severity
Low: It annoys or frustrates me.
The text was updated successfully, but these errors were encountered: