Merged
Conversation
4bd91ed to
469f92c
Compare
Lars800
reviewed
Dec 19, 2025
...penstef-models/src/openstef_models/transforms/postprocessing/isotonic_quantile_calibrator.py
Show resolved
Hide resolved
...penstef-models/src/openstef_models/transforms/postprocessing/isotonic_quantile_calibrator.py
Show resolved
Hide resolved
...penstef-models/src/openstef_models/transforms/postprocessing/isotonic_quantile_calibrator.py
Show resolved
Hide resolved
...penstef-models/src/openstef_models/transforms/postprocessing/isotonic_quantile_calibrator.py
Show resolved
Hide resolved
egordm
approved these changes
Jan 15, 2026
Collaborator
egordm
left a comment
There was a problem hiding this comment.
I have checked it and it looks great actually.
Maybe indeed only a few nitpicks:
-
Is that we should avoid calibration if the data is too small for some reason. Just to cover all the bases.
-
100 points limit may be too strict since it picks 100 nearest points. It can also be that it's too big and thus picks irrelevant samples for quantile calculation. So adaptive sampling is probably a good default for a reason. We should probably keep it. <10 is probably too small though.
-
Because we have a fit function, it's easy to recalibrate on a recent forecast, so that's pretty nice.
Signed-off-by: Fleur Petit <fleur.petit@alliander.com>
Signed-off-by: Fleur Petit <fleur.petit@alliander.com>
* feature: add Selector transform * add ForecastInputDataset testcases * add selected_features to presets * add doctest Signed-off-by: Fleur Petit <fleur.petit@alliander.com>
…ne bug (OpenSTEF#787) Signed-off-by: Fleur Petit <fleur.petit@alliander.com>
…lating. (OpenSTEF#790) Signed-off-by: Fleur Petit <fleur.petit@alliander.com>
Signed-off-by: Fleur Petit <fleur.petit@alliander.com>
…hether there is sufficient data. Signed-off-by: Fleur Petit <fleur.petit@alliander.com>
4d8f737 to
cfba252
Compare
…uantile Signed-off-by: Egor Dmitriev <egor.dmitriev@alliander.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements a postprocessing calibration method for quantile estimation using sk-learn's IsotonicRegression.
Changes
IsotonicCalibratorto postprocessing transforms.IsotonicCalibratorfunctionality on different data with different settings.IsotonicCalibratoron observed vs expected quantilesTesting