Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG] fix defaulting logic for
_predict_interval
and `_predict_quan…
…tiles` when only `_predict_var` is implemented (#191) This PR fixes a unreported bug in `BaseProbaRegressor` where `_predict_interval` and `_predict_quantiles` would raise an `NotImplementedError` when only `_predict_var` is implemented - despite current defaulting logic being sufficient to obtain (normal) quantiles and symmetric (normal) intervals from `_predict` and `_predict_var`. This issue is present with the `sklearn` adapter and delegate descendants, but was not uncovered due to masking by the test bug in #189. The failure is present in test logs of the fix #189, and #189 is used for testing (by merge into).
- Loading branch information
Showing
1 changed file
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters