-
Notifications
You must be signed in to change notification settings - Fork 61
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
refactor: fix type hints of train_test_split #161
refactor: fix type hints of train_test_split #161
Conversation
Technically a breaking change
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Following @baggiponte comment, I took a quick look at this and left a comment for the return type in function docstring.
Co-authored-by: Francesco Bruzzesi <[email protected]>
Actually let me add some additional comments since I am here 😂
|
Thanks. I was wondering whether we should remove the |
@FBruzzesi I should merge this before you go on with #168. I wanted to discuss with other maintainers @ngriffiths13 whether we can get rid of the |
What does this implement/fix? Explain your changes.
Fix the type annotations of train_test_split.
Note. Technically is a breaking change since I made
eager
a keyword only argument. If we plan to release in 0.10 we should mark it as such. Though I would assume that no one with benign intentions callstrain_test_split(4, true)
.