-
-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check sample weight equivalence on sparse data (#30137)
Co-authored-by: Olivier Grisel <[email protected]>
- Loading branch information
1 parent
3d701a7
commit c713ff4
Showing
4 changed files
with
235 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
- :func:`check_estimators.check_sample_weights_invariance` replaced by | ||
:func:`check_estimators.check_sample_weight_equivalence` which uses | ||
integer (including zero) weights. | ||
- `utils.estimator_checks.check_sample_weights_invariance` | ||
replaced by | ||
`utils.estimator_checks.check_sample_weight_equivalence_on_dense_data` | ||
which uses integer (including zero) weights and | ||
`utils.estimator_checks.check_sample_weight_equivalence_on_sparse_data` | ||
which does the same on sparse data. | ||
By :user:`Antoine Baker <antoinebaker>` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- `utils.estimator_checks.check_sample_weights_invariance` | ||
replaced by | ||
`utils.estimator_checks.check_sample_weight_equivalence_on_dense_data` | ||
which uses integer (including zero) weights and | ||
`utils.estimator_checks.check_sample_weight_equivalence_on_sparse_data` | ||
which does the same on sparse data. | ||
By :user:`Antoine Baker <antoinebaker>` |
Oops, something went wrong.