Skip to content

[API] v2 interface design - output (predict, backtesting etc) interface #1883

Open
@fkiraly

Description

@fkiraly

The current v2 interface design lacks a clear predict interface (or similarly named).

It should be possible, for all models:

  • to query k-step-ahead predictions, if there is no future-known data
  • to query k-step-ahead predictions, if there is some future-known data
  • to pass a future batch and get predictions for it (without specifying k, which is assumed to be the index) - optional

Further, the data that is passed is optimally also a TimeSeries, not the D2 module.

DSIPTS has something similar in the inference method, if I am not mistaken (@agobbi?)
https://github.com/DSIP-FBK/DSIPTS/blob/main/dsipts/models/base.py

FYI @phoeenniixx, @PranavBhatP, @xandie985

Metadata

Metadata

Assignees

No one assigned

    Labels

    API designAPI design & software architectureenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions