|
8 | 8 | from ._machine_precision import EPSILON |
9 | 9 | from ._typing import ArrayLike, NDArray |
10 | 10 | from .utils import (calc_bins, check_alpha, check_array_inf, check_array_nan, |
11 | | - check_array_shape_classification, |
| 11 | + check_array_shape_classification, check_split_strategy, |
12 | 12 | check_array_shape_regression, check_arrays_length, |
13 | | - check_binary_zero_one, check_lower_upper_bounds, |
14 | | - check_nb_intervals_sizes, check_nb_sets_sizes, |
15 | | - check_number_bins, check_split_strategy) |
| 13 | + check_binary_zero_one, check_nb_intervals_sizes, |
| 14 | + check_nb_sets_sizes, check_number_bins) |
16 | 15 |
|
17 | 16 |
|
18 | 17 | def regression_coverage_score( |
@@ -55,7 +54,6 @@ def regression_coverage_score( |
55 | 54 | y_pred_up = cast(NDArray, column_or_1d(y_pred_up)) |
56 | 55 |
|
57 | 56 | check_arrays_length(y_true, y_pred_low, y_pred_up) |
58 | | - check_lower_upper_bounds(y_true, y_pred_low, y_pred_up) |
59 | 57 | check_array_nan(y_true) |
60 | 58 | check_array_inf(y_true) |
61 | 59 | check_array_nan(y_pred_low) |
|
0 commit comments