Skip to content

Commit 1fb8500

Browse files
committed
improved doc
1 parent d597820 commit 1fb8500

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

CHANGE_LOG.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Change Log 0.2.1
22
-----------------
33

4-
...
4+
- Improved documentation of confidence regions.
55

66
Change Log 0.2.0
77
-----------------

docs/source/manuals/methods.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,10 @@ estim_prevalence = model.predict(dataset.test.X)
604604

605605
_(New in v0.2.0!)_ Some quantification methods go beyond providing a single point estimate of class prevalence values and also produce confidence regions, which characterize the uncertainty around the point estimate. In QuaPy, two such methods are currently implemented:
606606

607-
* Aggregative Bootstrap: The Aggregative Bootstrap method extends any aggregative quantifier by generating confidence regions for class prevalence estimates through bootstrapping. Key features of this method include:
607+
* Aggregative Bootstrap: The Aggregative Bootstrap method extends any aggregative quantifier by generating confidence regions for class prevalence estimates through bootstrapping. The method is described in the paper [Moreo, A., Salvati, N.
608+
An Efficient Method for Deriving Confidence Intervals in Aggregative Quantification.
609+
Learning to Quantify: Methods and Applications (LQ 2025), co-located at ECML-PKDD 2025.
610+
pp 12-33, Porto (Portugal)](https://lq-2025.github.io/proceedings/CompleteVolume.pdf). Key features of this method include:
608611

609612
* Optimized Computation: The bootstrap is applied to pre-classified instances, significantly speeding up training and inference.
610613
During training, bootstrap repetitions are performed only after training the classifier once. These repetitions are used to train multiple aggregation functions.

quapy/method/confidence.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,12 @@ class AggregativeBootstrap(WithConfidenceABC, AggregativeQuantifier):
339339
340340
During inference, the bootstrap repetitions are applied to the pre-classified test instances.
341341
342+
See
343+
`Moreo, A., Salvati, N.
344+
An Efficient Method for Deriving Confidence Intervals in Aggregative Quantification.
345+
Learning to Quantify: Methods and Applications (LQ 2025), co-located at ECML-PKDD 2025.
346+
pp 12-33 <https://lq-2025.github.io/proceedings/CompleteVolume.pdf>`_
347+
342348
:param quantifier: an aggregative quantifier
343349
:para n_train_samples: int, the number of training resamplings (defaults to 1, set to > 1 to activate a
344350
model-based bootstrap approach)
@@ -437,7 +443,7 @@ def _classifier_method(self):
437443

438444
class BayesianCC(AggregativeCrispQuantifier, WithConfidenceABC):
439445
"""
440-
`Bayesian quantification <https://arxiv.org/abs/2302.09159>`_ method,
446+
`Bayesian quantification <https://arxiv.org/abs/2302.09159>`_ method (by Albert Ziegler and Paweł Czyż),
441447
which is a variant of :class:`ACC` that calculates the posterior probability distribution
442448
over the prevalence vectors, rather than providing a point estimate obtained
443449
by matrix inversion.

0 commit comments

Comments
 (0)