Skip to content

CrostonModel #1317

@Mr-Geekman

Description

@Mr-Geekman

🚀 Feature Request

Add model based on Croston's method for intermittent demand.

We could also try to implement some variations of this method.

Proposal

Add CrostonModel.

  • It could be implemeted as per-segment model using BaseAdapter and PerSegmentModelMixin (look at ProphetModel for reference)
  • It could be implemented as NonPredictionIntervalContextIgnorantAbstractModel that saves the answer during the fit
  • During fit it should raise a warning that it doesn't work with exogenous features, look at SeasonalMovingAverageModel

References:

To discuss:

  • Should it be our own implementation or some external package can be used (statsforecast for example)
    • We should try to make our own implementation

Test cases

  • Tests for the model itself
  • Inference tests in tests/test_models/test_inference/.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions