-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed defaults in make_forecasting_problem #1477
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is the right idea, but problematic in the specific execution.
A blocker is that the docstring is no longer correct.
I would also strongly recommend not making a change that breaks the interface, in general, but especially in this case specifically where we are already dealing with broken tests due to confusion about arguments of this specific function.
Here's my suggestion on how to deal with this:
- introduce two new arguments,
n_y_columns
andn_X_columns
with the obvious meanings. - the inner
_make_series
take these two arguments in then_columns
place n_y_columns
defaults ton_columns
if that is passed, otherwise 1. This ensures downwards compatibility.n_columns
gets a deprecation note/warning.n_X_columns
defaults to 2.- the docstrings are updated.
Also, always include a descriptive PR message please. |
Here quick answers for your points, in short my changes run well and I already merged them into #1083 which also passes now.
then we need to add this new params also to the other functions such as
There was not any test which didnt default to
In my opinion
Yes, now it always defaults to
Done, sry just forgot it. |
…into make_forecasting_problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, makes sense to me.
Is it correct that all tests that currently change n_columns
have - incorrectly - made the assumption that this would in fact affect the number of columns of y
, not of X
?
I think |
looks good (skipped appveyor since #1083 contains this and tests passed) |
No description provided.