Skip to content

Create method get_residuals #589

Closed
1 task
alex-hse-repository opened this issue Mar 10, 2022 · 0 comments · Fixed by #597
Closed
1 task

Create method get_residuals #589

alex-hse-repository opened this issue Mar 10, 2022 · 0 comments · Fixed by #597
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@alex-hse-repository
Copy link
Collaborator

alex-hse-repository commented Mar 10, 2022

🚀 Feature Request

Create method to get the dataset with residuals

Motivation

Convenient way to get residuals for further analysis

Proposal

  1. Create method
def get_residuals(
     forecast_df: pd.DataFrame,
     ts: "TSDataset"
) -> TSDataset

Where:
forecast_df - forecasts from backtest
ts - dataset that was used for backtest

Should return TSDataset with the residuals

  1. Make method plot_residuals use get_residuals inside

Test cases

  • Check the correctness of the method in the simple case

Alternatives

No response

Additional context

No response

Checklist

  • I discussed this issue with ETNA Team
@alex-hse-repository alex-hse-repository added the enhancement New feature or request label Mar 10, 2022
@alex-hse-repository alex-hse-repository added this to the EDA milestone Mar 10, 2022
@Mr-Geekman Mr-Geekman self-assigned this Mar 11, 2022
@Mr-Geekman Mr-Geekman mentioned this issue Mar 11, 2022
9 tasks
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.

2 participants