-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store the expected number of test rows in the Trained* objects.
All classify_* functions now check that the test dataset has the expected number of rows, based on the arguments provided to the training functions. This provides an extra safeguard against the use of the wrong test dataset for a particular Trained object. We also check that all inputs for integrated training are expecting the same number of rows for the test dataset. A consequence of this change is that the various function overloads that accept an intersection now also need to store the expected number of rows in the test dataset. The current overload has been soft-deprecated and a new overload that takes this additional argument has been added.
- Loading branch information
Showing
6 changed files
with
310 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.