Skip to content

Add per-segment regressors length check #20

Merged
merged 2 commits into from
Sep 13, 2021
Merged

Add per-segment regressors length check #20

merged 2 commits into from
Sep 13, 2021

Conversation

julia-shenshina
Copy link
Contributor

No description provided.

Comment on lines +143 to +147
raise ValueError(
f"All the regressor series should start not later than corresponding 'target'."
f"Series {series} of segment {segment} have not enough history: "
f"{target.index.min()} < {exog_series.index.min()}."
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This way we won't show all problematic segments. It is not huge problem right now, but for convenience I'd like to see all segments contain this problem

@iKintosh iKintosh self-assigned this Sep 9, 2021
@iKintosh iKintosh merged commit 95e6436 into master Sep 13, 2021
@iKintosh iKintosh deleted the ETNA-779 branch September 13, 2021 13:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants