mlquantify 0.1.17__py3-none-any.whl → 0.1.18__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mlquantify/utils/_validation.py +1 -1
- {mlquantify-0.1.17.dist-info → mlquantify-0.1.18.dist-info}/METADATA +1 -1
- {mlquantify-0.1.17.dist-info → mlquantify-0.1.18.dist-info}/RECORD +5 -5
- {mlquantify-0.1.17.dist-info → mlquantify-0.1.18.dist-info}/WHEEL +0 -0
- {mlquantify-0.1.17.dist-info → mlquantify-0.1.18.dist-info}/top_level.txt +0 -0
mlquantify/utils/_validation.py
CHANGED
|
@@ -94,7 +94,7 @@ def validate_y(quantifier: Any, y: np.ndarray) -> None:
|
|
|
94
94
|
f"Predictions must be 1D or 2D array, got array with ndim={y.ndim} and shape={y.shape}."
|
|
95
95
|
)
|
|
96
96
|
|
|
97
|
-
def _get_valid_crisp_predictions(predictions, threshold=0.5):
|
|
97
|
+
def _get_valid_crisp_predictions(predictions, train_y_values=None, threshold=0.5):
|
|
98
98
|
predictions = np.asarray(predictions)
|
|
99
99
|
dimensions = predictions.ndim
|
|
100
100
|
|
|
@@ -45,9 +45,9 @@ mlquantify/utils/_parallel.py,sha256=XotpX9nsj6nW-tNCmZ-ahTcRztgnn9oQKP2cl1rLdYM
|
|
|
45
45
|
mlquantify/utils/_random.py,sha256=7F3nyy7Pa_kN8xP8P1L6MOM4WFu4BirE7bOfGTZ1Spk,1275
|
|
46
46
|
mlquantify/utils/_sampling.py,sha256=QQxE2WKLdiCFUfPF6fKgzyrsOUIWYf74w_w8fbYVc2c,8409
|
|
47
47
|
mlquantify/utils/_tags.py,sha256=Rz78TLpxgVxBKS0mKTlC9Qo_kn6HaEwVKNXh8pxFT7M,1095
|
|
48
|
-
mlquantify/utils/_validation.py,sha256=
|
|
48
|
+
mlquantify/utils/_validation.py,sha256=zn4OHfa704YBaPKskhiThUG7wS5fvDoHBpcEgb1i8qM,18078
|
|
49
49
|
mlquantify/utils/prevalence.py,sha256=FXLCJViQb2yDbyTXeGZt8WsPPnSZINhorQYZTKXOn14,1772
|
|
50
|
-
mlquantify-0.1.
|
|
51
|
-
mlquantify-0.1.
|
|
52
|
-
mlquantify-0.1.
|
|
53
|
-
mlquantify-0.1.
|
|
50
|
+
mlquantify-0.1.18.dist-info/METADATA,sha256=XrQ188Icw5RZEAN8tvHRHTsRm1IKB1iwR_tm6G7uB0w,4701
|
|
51
|
+
mlquantify-0.1.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
52
|
+
mlquantify-0.1.18.dist-info/top_level.txt,sha256=tGEkYkbbFElwULvqENjam3u1uXtyC1J9dRmibsq8_n0,11
|
|
53
|
+
mlquantify-0.1.18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|