Skip to content
New issue

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

auto_arima with missing values #555

Open
elisevansartefact opened this issue Aug 1, 2023 · 0 comments
Open

auto_arima with missing values #555

elisevansartefact opened this issue Aug 1, 2023 · 0 comments
Labels
feature request A tag for feature requests

Comments

@elisevansartefact
Copy link

Is your feature request related to a problem? Please describe.

I have some time series data at weekly granularity, but some weeks have NaN or None values.

The pmdarima auto_arima documentation says that the input time series data should not contain any np.nan or np.inf values. So I cannot use auto_arima without imputing values. This is unlike pmdarima arima, which allows the use of input data with NaN or None values. The same is true of the R auto.arima package.

Describe the solution you'd like

auto_arima should work with missing values. For example, [1, 3, 4, None, 5, 2, 3, None, 7] should not raise ValueError: Input y contains NaN, and auto_arima should train as normal.

Describe alternatives you've considered

Imputing values, but this means the model trains on incorrect data, and reproduces this 'synthetic data' pattern in future predictions.

Additional Context

No response

@elisevansartefact elisevansartefact added the feature request A tag for feature requests label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A tag for feature requests
Projects
None yet
Development

No branches or pull requests

1 participant