-
-
Notifications
You must be signed in to change notification settings - Fork 211
add validation for ignore_attributes and default_target_attribute at … #978
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
add validation for ignore_attributes and default_target_attribute at … #978
Conversation
| language=language, | ||
| licence=licence, | ||
| default_target_attribute=default_target_attribute, | ||
| default_target_attribute="play", |
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.
Why did you change these tests?
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.
This one will fail because of the new logic , as "play" is not in the dataset columns.
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.
But previously it was also set to "play"? And it says column_names = ["rnd_str", "outlook", "temperature", "humidity", "windy", "play"] just a few lines up. I am a bit confused about this. Maybe sitting together for this works better.
PGijsbers
left a comment
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 left some questions and feedback that I'd like to see addressed 👍
…ize with attribute validation
|
I forgot about this earlier, could you also add a test which tests the new functionality that allows a number of attributes to be specified by a comma-separated string? (e.g. |
|
Thanks 🎉 |
…craete_dataset
Reference Issue
#964
What does this PR implement/fix? Explain your changes.
How should this PR be tested?
on call of create_dataset , we can try values for ignore_attributes and default_target_attribute that are part of the columns and some values that are not.
Any other comments?