-
Notifications
You must be signed in to change notification settings - Fork 7
Set n_validation_batches to 0 #445
Conversation
|
|
|
Hi @peterdudfield .... so... this is maybe a bit awkward 🙂 This PR fixes #441 and maybe slightly addresses #426. I think this PR fixes the root issue, and also addresses a PR comment you had a while ago about adding descriptions to the What do you think about merging this PR into |
peterdudfield
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.
Looks good,
I think a test case should be written to make sure this done error - either add it and show an error is made, or add an issue?
| if (n_batches_requested == 0 and len(datetimes_for_split) != 0) or ( | ||
| len(datetimes_for_split) == 0 and n_batches_requested != 0 | ||
| ): | ||
| msg = ( |
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.
good clear message
I ahve see {variable=} and thanks prints out variable={variable} as a short hand
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.
ooooh! f"{variable=}" is a really nice trick! Thanks loads for telling me about that! I'm gonna use that all over the place now 🙂
|
Good idea about adding a test! I've added that as issue #450, as I'm keen to get this merged into |
Pull Request
Description
Related to #426
Fixes #441
Still TODO: Merge in Peter's unit tests for this!
How Has This Been Tested?
prepare_ml_data.pyrunsChecklist: