File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ def __init__(self) -> None:
255255 def get_signed_conformity_scores (
256256 self , y : ArrayLike , y_pred : ArrayLike , ** kwargs
257257 ) -> NDArray :
258- return np .zeros ( len ( y ) )
258+ return np .array ([] )
259259
260260 def get_estimation_distribution (
261261 self , y_pred : ArrayLike , conformity_scores : ArrayLike , ** kwargs
@@ -265,17 +265,17 @@ def get_estimation_distribution(
265265 conformity scores to make the estimated distribution
266266 inconsistent with the conformity score.
267267 """
268- return np .zeros ( len ( y_pred ) )
268+ return np .array ([] )
269269
270270 def get_conformity_scores (
271271 self , y : ArrayLike , y_pred : ArrayLike , ** kwargs
272272 ) -> NDArray :
273- return np .zeros ( len ( y_pred ) )
273+ return np .array ([] )
274274
275275 def predict_set (
276276 self , X : NDArray , alpha_np : NDArray , ** kwargs
277277 ) -> NDArray :
278- return np .zeros ( len ( X ) )
278+ return np .array ([] )
279279
280280 dcs = DummyConformityScore ()
281281 dcs .get_signed_conformity_scores (y_toy , y_toy )
You can’t perform that action at this time.
0 commit comments