Skip to content

Commit 0f334d4

Browse files
antoinebakerogrisel
authored andcommitted
Check sample weight equivalence on sparse data (#30137)
Co-authored-by: Olivier Grisel <[email protected]>
1 parent 1d1645c commit 0f334d4

File tree

4 files changed

+235
-66
lines changed

4 files changed

+235
-66
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
- :func:`check_estimators.check_sample_weights_invariance` replaced by
2-
:func:`check_estimators.check_sample_weight_equivalence` which uses
3-
integer (including zero) weights.
1+
- `utils.estimator_checks.check_sample_weights_invariance`
2+
replaced by
3+
`utils.estimator_checks.check_sample_weight_equivalence_on_dense_data`
4+
which uses integer (including zero) weights and
5+
`utils.estimator_checks.check_sample_weight_equivalence_on_sparse_data`
6+
which does the same on sparse data.
47
By :user:`Antoine Baker <antoinebaker>`
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- `utils.estimator_checks.check_sample_weights_invariance`
2+
replaced by
3+
`utils.estimator_checks.check_sample_weight_equivalence_on_dense_data`
4+
which uses integer (including zero) weights and
5+
`utils.estimator_checks.check_sample_weight_equivalence_on_sparse_data`
6+
which does the same on sparse data.
7+
By :user:`Antoine Baker <antoinebaker>`

0 commit comments

Comments
 (0)