Repository navigation
Conversation
…rs from mother_cv Implements and tests Bayer-Group#90
… member uncertainties with 'member_average' method
junkha
force-pushed
the
90-ensemble-classifiers-from-cv
branch
from
October 6, 2026 07:37
616d30e to
704aadc
Compare
junkha
force-pushed
the
90-ensemble-classifiers-from-cv
branch
from
October 8, 2026 11:31
57b07bf to
0ec83c9
Compare
This branch has not been deployed
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 introduces ensemble classifiers that combine fitted estimators produced by
mother_cvfor prediction and uncertainty quantification.Changes
Introduce
CVEnsembleClassifierMother(see Introduce ensemble models by combining trained models from MotherCV #90)Combine fitted estimators from cross-validation runs into an ensemble classifier
Provide default option for aggregation of member predictions: averaging without weighting
Provide options for estimation of knowledge uncertainty:
variance: computes variance of ensemble predictions over classes and members to represent ensemble uncertaintydisagreement: computes disagreement score using KL-divergence to represent ensemble uncertaintymember_average: computes ensemble uncertainty by averaging individual member uncertaintiesFix estimator handling in
mother_cvwhen tuning is disabled (see #mother_cvreturned identical member estimators without nested tuning #92)Add example notebook demonstrating usage
Add unit tests
Motivation
The goal is to enable ensemble predictions from models produced during cross-validation while keeping the existing workflow for model training and evaluation.
Testing
Notes
This is currently a draft PR.
I may still make minor adjustments and rebase onto the latest upstream
mainbefore requesting formal review.Open To do's
Follow-up tasks