Skip to content

Commit

Permalink
Small update on the return type of the __call_ method of SklearnModel…
Browse files Browse the repository at this point in the history
…UtilityResult.
  • Loading branch information
bojan-karlas committed Feb 24, 2024
1 parent 66192ea commit f9fd86e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datascope/importance/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def __call__(
metadata_test: Optional[Union[NDArray, DataFrame]] = None,
null_score: Optional[float] = None,
seed: int = DEFAULT_SEED,
) -> UtilityResult:
) -> SklearnModelUtilityResult:
result = SklearnModelUtilityResult()
if not isinstance(y_test, ndarray):
y_test = y_test.to_numpy()
Expand Down

0 comments on commit f9fd86e

Please sign in to comment.