Skip to content

Create AbstractPipeline #560

Closed
1 task
alex-hse-repository opened this issue Feb 22, 2022 · 0 comments · Fixed by #573
Closed
1 task

Create AbstractPipeline #560

alex-hse-repository opened this issue Feb 22, 2022 · 0 comments · Fixed by #573
Assignees
Labels
enhancement New feature or request

Comments

@alex-hse-repository
Copy link
Collaborator

alex-hse-repository commented Feb 22, 2022

🚀 Feature Request

Create interface for pipelines

Motivation

All pipelines should have common interface

Proposal

Create class AbstractPipeline:

  • inherit it from abc
  • it should have abstract method fit:
    def fit(self, ts: TSDataset)
  • it should have abstract method forecast:
    def forecast(self, prediction_interval: bool = False, quantiles: Sequence[float] = (0.025, 0.975))
  • it should have abstract method backtest(see signature here)
  • add description

Test cases

No response

Alternatives

No response

Additional context

No response

Checklist

  • I discussed this issue with ETNA Team
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant