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
[MNT] Hotfix tag scitype:y typo #1449
Conversation
@aiwalter, ouch, this is very painful - no one noticed this? Why were the tests not failing with the wrong tag name? |
This makes me think: should |
I think it can still return |
Yes, agree with the user expectation and default behaviour, @aiwalter. When I implemented this, I was mimicking the previous default behaviour which was using Here's my alternative suggestion: |
sktime/utils/_testing/forecasting.py
Outdated
@@ -29,6 +29,8 @@ def _get_n_columns(tag): | |||
n_columns_list = [2] | |||
elif tag == "both": | |||
n_columns_list = [1, 2] | |||
else: | |||
n_columns_list = [1] |
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 else it should raise an error, since this is an unexpected input!
@aiwalter, @mloning, I have identified the (or a) source of the failing tests. The reason is that There are multiple potential solutions for this:
I would be in favour of no.2 and would be against no.1. I would prefer no.4 above no.3. |
@aiwalter, I found another issue after fixing the above one. Namely, it comes from So, it means, currently the grid search algorithms are not capable of dealing with multivariate data, and the tag should always say I've created a PR containing this temporary fix, #1455. |
I think its contained also in my PR #1376 |
Thx @fkiraly , will look into it tomorrow |
Hm, looking into #1376, it appears you already discovered two, the issue with the cv splitter and the univariate tag. Yes, I'd say, let's fix these separately and ensure we have a "clean slate" with tests fixed before we add more content - just to be sure we don't introduce any follow-on bugs. |
For instance, I'm worried that your #1376 doesn't fix the |
lets get this merged? |
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.
Yes, this should fix all the test issues now.
Looks like we got it fixed!
Great, thanks!
Fixed typo
y:scitype
, renamed toscitype:y
Reference Issues/PRs
related #1141 #1083 #1376