Using cross-validation to predict the accuracy of a classifier on unseen data can be done reliably only in the absence of dataset shift, i.e., when the training data and the unseen data are IID. In this work we deal instead with the problem of predicting classifier accuracy on unseen data affected by prior probability shift (PPS), an important type of dataset shift. We propose QuAcc, a method built on top of “quantification” algorithms robust to PPS, i.e., algorithms devised for estimating the prevalence values of the classes in unseen data affected by PPS. QuAcc is based on the idea of viewing the cells of the contingency table (on which classifier accuracy is computed) as classes, and of estimating, via a quantification algorithm, their prevalence values on the unseen data labelled by the classifier. We perform systematic experiments in which we compare the prediction error incurred by QuAcc with that of state-of-the-art classifier accuracy prediction (CAP) methods.
The standard way of predicting the accuracy of a classifier on unseen data is using cross-validation (CV).1 However, the accuracy estimates that CV returns are accurate only when the training data and the unseen data are IID, i.e., when no dataset shift (Quiñonero-Candela et al., 2009) is present in the data. Unfortunately, dataset shift is ubiquitous in real-world applications, for a variety of reasons. One such reason is the possible non-stationarity of the environment across time and/or space and/or other variables, in which case the deployment conditions are irreproducible at training time. Another reason is the possible presence of sample selection bias in the training data, as when the process of labelling these data has introduced bias in them intentionally (e.g., when oversampling the minority class) or unintentionally (e.g., when using active learning). In all these cases, predicting the accuracy of a classifier on unseen data is problematic.
In this paper we tackle the problem of predicting the accuracy of a classifier on unseen data affected by prior probability shift (PPS), an important type of dataset shift in which , the class-conditional distribution of the covariates, is invariant across the training data and the test data, but , the distribution of the class labels, is not. We propose a novel classifier accuracy prediction (CAP) method based on two key ideas.
The first idea is that of viewing the cells of the contingency table (on which classifier accuracy is computed) as classes, so that estimating the accuracy of a classifier can be performed by counting the number of test datapoints assigned to each such class by a (different) classifier. In other words, this involves a relabelling of the datapoints, i.e., from the original set of classes to a new set of classes representing contingency table cells.
The second idea starts from the observation that, when there is PPS between training data and test data labelled according to , there is (as we prove) PPS also when the same training data and test data are relabelled according to . This observation allows us to estimate the counts of the contingency table cells via quantification algorithms (Esuli et al., 2023) robust to PPS, i.e., algorithms whose task is predicting the prevalence values of the classes (i.e., the class priors) in samples of unseen data affected by PPS. We thus name our novel CAP method QuAcc (“Quantification for Accuracy Prediction”).
We present experiments in which we test QuAcc against state-of-the-art CAP methods on data generated by a robust experimental protocol, i.e., on settings characterised by different amounts of training data imbalance, test data imbalance, and PPS. In order to show how well QuAcc deals with the binary case and with the multiclass case, we present separate experiments for these two settings. In order to ensure the reproducibility of our experiments we make available the code and the data on which they are based.2
The rest of the paper is structured as follows. After discussing the problem setting (Section “Preliminaries”) and reviewing related work (Section “Related Work”), in Section “QuAcc” we illustrate our method for classifier accuracy prediction. Section “Experiments” presents our experimental results, while Section “Conclusion” wraps up, pointing at avenues for future research.
Preliminaries
In this paper we adopt the following notation. By we indicate a datapoint drawn from a domain . By we indicate a class drawn from a set of classes , which we call the codeframe; when we write to indicate that is the “positive” class, which is usually the minority class and represents the concept we aim to characterise, and is the “negative” class. We write to indicate that is the class label of . By (the training set), (the validation set), and (the unlabelled set) we denote three sets of labelled datapoints, where the labels of are assumed unknown.
We use symbol to denote a sample, i.e., a non-empty set of labelled datapoints . We use to denote the (true) prevalence of class in sample (i.e., the fraction of items in that belong to ); note that is just a shorthand of , where indicates probability and is a random variable that ranges on . Note that is a probability distribution over , where denotes the probability simplex, i.e., the set of all probability distributions over classes.
We define a quantifier as a function , i.e., a function that maps a sample into a probability distribution , where denotes the estimate of returned by . A quantifier is thus an estimator of class prevalence values, and is trained by an inductive learning algorithm on a set of labelled datapoints. Since in the binary case it holds that , binary quantification reduces to estimating the prevalence of class only.
By we denote a classifier trained on . We assume to return labels in by the usual rule
where the (the posterior probabilities, which we assume to be well-calibrated) each represent the probability that the classifier subjectively attributes to the fact that belongs to class . This assumption brings about no loss of generality, since a classifier that returns generic confidence scores (instead of posterior probabilities), or posterior probabilities that are not well-calibrated, can be made to return well-calibrated posterior probabilities by means of a calibration function.
Given a a set of classes , we indicate by the contingency table used for measuring the accuracy of (single-label) classifiers that map datapoints into . We denote by the value of cell that results from the application of a classifier to an unlabelled set , i.e., the number of datapoints in that belong to class and have been assigned class by . By we denote a function that measures the accuracy of classifier on an unlabelled set , while by we denote a function that measures the CAP error incurred by estimating as .
Problem Setting
Our goal is to estimate the accuracy of a classifier on an unlabelled set . In this paper we make three assumptions that are typically made in the CAP literature (see Section “Related Work”), i.e., (i) that the set on which has been trained is no longer available, (ii) that a validation set is instead available, and that (iii) and are drawn IID from the same distribution (where is a random variable that ranges on ) while is drawn from a different distribution .3 In this paper we assume the presence of PPS between and , i.e., we assume that
Hereafter, we call Equations 1 and 2 the PPS assumptions. Note that the goal (of QuAcc and of its competing methods) is not to adapt to (as in domain adaptation), but merely to estimate its accuracy on .
Related Work
A number of methods for CAP under dataset shift have appeared in the last few years.
Bhaskaruni et al. (2018) propose a “reverse testing” framework where (i) the classifier generates labels for the datapoints in , (ii) these (pseudo-)labels are used to train another classifier on , and (iii) labels the datapoints in . Any accuracy measure can be computed on the predictions of (since the true labels of are known) and be used as a proxy of the accuracy of on .
This idea is later refined in the Reverse Classification Accuracy (RCA) method by Elsahar and Gallé (2019). RCA carries out a similar “back-and-forth” process in which a classifier is trained on the (pseudo-)labels generated by on . The RCA score is defined in terms of the discrepancy between the labels assigned by the two classifiers and to the datapoints of a held-out validation set .
A variant (RCA*) is also proposed that aims at factoring out the discrepancy between the classifiers that can be explained simply by the accumulation of errors in the two-way training process, using additional validation samples. This approach requires several validation sets on which the RCA (or RCA*) scores are computed. These values, together with the true accuracy values of on each , are used to train a regressor, which, given as input the RCA (or RCA*) scores obtained on , directly predicts the accuracy of on .
The idea of using pseudo-labels for learning from is further investigated by Chen et al. (2021), who propose an iterative self-training ensemble (the “check model”) that estimates the error of as the fraction of test datapoints on which classifiers and disagree. Following this idea, Jiang et al. (2022) propose Generalization Disagreement Equality (GDE), a CAP method based on the disagreement of two datapoints of the same model. In a similar vein, You et al. (2022) combine the two worlds, training a regressor on top of the outputs generated by an ensemble model.
The idea of training a regressor is also put forth by Redyuk et al. (2019), who use a sampling generation protocol on a validation sample to generate many subsamples that hopefully mimic a type of shift similar to the one present in the test sample. A regressor is then trained on a representation of the entire sample (the authors propose to use fixed percentiles of the distribution of the class-specific posteriors) to predict classifier accuracy on every such validation subsample. Somehow similarly, Deng and Zheng (2021) train a linear regressor on the Frechét distances between the validation samples and .
Guillory et al. (2021) propose a method that also relies on a regressor for predicting the accuracy of in . In addition to the validation sample , the method assumes the existence of different validation samples exhibiting some type of dataset shift with respect to . For every validation set , the average max confidence of the classifier () is computed. The scores used to train the regressor are computed as the Difference of Confidences (DoC – which is also the name for the proposed method) between and each , i.e., as . Such scores are used to train a regressor to predict the difference in accuracy that exhibits on and . Using this regressor, the accuracy of in can be computed straightforwardly from the score and the (known) accuracy of in .
Methods relying on Importance Weighting (IW) try instead to estimate classifier accuracy on using estimates of the true density ratio, with and the density functions of the train and test probability distributions and , respectively (Sugiyama et al., 2007). Given that for any , knowing the density ratio would allow for direct estimation of ’s vanilla accuracy in the test set , by simply considering be the 0-1 loss, i.e.,
One of the best-known IW approaches in the literature is the Kullback-Leibler Importance Estimation Procedure (KLIEP) (Sugiyama et al., 2007). A more recent approach, called Mandoline (Chen et al., 2021), builds on top of a variant of KLIEP that uses more elaborated representations crafted from the original covariates by means of some special type of user-defined transformations called slicing functions. These representations may additionally incorporate information from the classifier itself (e.g., the posterior probabilities). One limitation of this approach is that non-linear evaluation measures, such as , cannot be estimated.
The Average Threshold Confidence (ATC) method (Garg et al., 2022) learns instead a threshold on (a function of) the posterior probabilities of the classifier, such that datapoints that obtain a score higher than are assumed to be correctly classified. The authors investigate two such functions , one based on maximum confidence and one based on negative entropy. Threshold is learned on the validation set as the value above which the proportion of datapoints scoring higher than equates the proportion of correctly classified datapoints (i.e., coincide with the value of vanilla accuracy). Assuming that are the posterior probabilities for returned by classifier , the accuracy that will obtain on is estimated as the fraction of datapoints in that score higher than , i.e.:
Linear Equations for Accuracy Prediction (LEAP) is instead a recently proposed method (Volpi et al., 2024) designed to predict the entries of a contingency table resulting from the application of classifier to unlabelled dataset . LEAP treats the values as unknowns and constructs a system of equations by leveraging (a) the values of the contingency table obtained by applying classifier to validation set , and (b) Equations 1 and 2, which derive from assuming PPS. The solution of this system provides an estimation of the values of the contingency table on , which can then be used to assess the accuracy of on via the chosen evaluation measure.
Note that all the methods discussed in this section, with the exception of those proposed in Bhaskaruni et al. (2018) and Volpi et al. (2024), have been tested by their authors only with vanilla accuracy as the classifier accuracy measure.
QuAcc
QuAcc, the method we propose, comes in three different variants, that we describe in the next three subsections.
The Method
In the general multiclass case, most classifier accuracy measures can be computed from the values of a contingency table resulting from the application of classifier to the set of unlabelled datapoints. Of course, in operational situations the values are unknown, since the true labels of the datapoints in are unknown. Our method for estimating under PPS is based on the following idea:
View the cells of the contingency table as a codeframe, i.e., consider each cell as a class. Note that .
Train, on a labelled set , a model that estimates the values .
Use the estimates to compute .
Step 2 can obviously be recast as training on a model that estimates the prevalence values of classes in , since . A key aspect of QuAcc is that it uses, for tackling this step, techniques from quantification (Esuli et al., 2023), since most such techniques are indeed concerned with training estimators of the class prevalence values under PPS.
In order to carry out Step 2, we represent the datapoints as pairs . Here is a vector
which incorporates (i) the original representation that classifier has used, and (ii) the posterior probabilities that has returned for . In other words, we train a quantifier by providing it with all the information we have about that might use to figure out which cell datapoint is likely to belong to. (Of course, the quantifier is not interested in individual datapoints per se, but is interested in them only insofar as they contribute to the distribution of across the classes.)
In our pairs , is instead a label that ranges not on but on . When is the label of a datapoint in , it is its true label. When is the label of a datapoint in , instead, is unknown. While it is not our goal to guess for this datapoint in particular, it is our goal to estimate, for each , the prevalence of datapoints such that . It is for reaching this goal that we use a quantifier. Once we have estimated the prevalence in of all , by multiplying all these estimates by we obtain estimates of all counts , and we can thus estimate . Since our quantifier works on a codeframe comprised of classes, we call this the method.
An important aspect of this method is that it works for any classifier accuracy measure defined in terms of a contingency table, since it does not estimate measure directly but estimates the values of the cells of the contingency table on which measure is based. Another important aspect of this method is that it is classifier-independent and quantifier-independent, i.e., it does not make any assumption on which method has been used for training and on which method is to be used for training .
In the binary case, in which , the contingency table is , and we need to train a single multiclass quantifier that operates on these four classes; we thus call this the method.
The Method
A variant of the method can be obtained by observing that, once we have applied classifier to , we already know the value of for each class , since this is the number of datapoints in which has assigned to . This means that we can leverage this information and solve our CAP problem by training, instead of one multiclass quantifier operating on classes, multiclass quantifiers operating on classes each, where the -th such quantifier is tasked with estimating how the datapoints in are distributed across . Since this method involves multiclass quantifiers that operate on classes each, we call this the method.
In the binary case, switching from the binary analogue of the method to the binary analogue of the method means switching from a single quantifier that operates on 4 classes to two binary quantifiers, which can be trained by leveraging the value of (resp., the value of ), since this is the number of datapoints in that has assigned to class (resp., ), and is thus known. We call this the method.
The Method
A variant of the method can be derived by observing that all the mispredicted points can altogether be conceptualized as background noise. This suggests a method that models the correctly predicted proportions via classes , , , and models background noise via an an additional class .4 This solution thus involves a single multiclass quantifier with classes (we thus call this method the method), that needs to estimate how the datapoints are distributed across classes , , , . Even though this method cannot exploit the pairwise information that captures the individual class-class correlations, it may be advantageous since it operates on a reduced, coarser-grain (hence, hopefully simpler) codeframe than the original method.
One potential disadvantage of the method with respect to the two previous ones is that it does not work for all classifier accuracy measures. One example measure for which this solution does not work is macroaveraged (see Equation 9), since the fact that all the misclassified datapoints are merged into a single class prevents the evaluation of for the individual classes ,…, . Other example measures for which this solution does not work are all the measures to which different types of mispredicted datapoints contribute differently, such as cost-sensitive accuracy measures. However, the method does work for an important classifier accuracy measure such as vanilla accuracy, whose mathematical form (see Equation 8) is such that knowing the value of suffices, and knowing the individual values of is not strictly required.
In the binary case, the method translates into a method employing a multiclass quantifier operating on three classes, i.e., the classes corresponding to , , , the latter combining the false positives and the false negatives into a single class; we call this binary variant the method. In this case, along with vanilla accuracy, also can be employed, since for its formula (see Equation 7) knowing the individual values of and is not necessary, since knowing + suffices. The method is particularly interesting, since we may conjecture that the FPs and the FNs mostly lie on a relatively compact region of space that flanks, from different sides, the separating surface, i.e., we may conjecture that most of the FPs and the FNs lie in a contiguous region of the space.
Adding Covariates
We also explore the impact of enriching the vectorial representations with additional covariates that convey information potentially useful for the quantification process. Given a datapoint and the vector (where is used as a shorthand for the posterior probability returned by classifier ), we explore three additional covariates that make explicit to the quantifier information only implicitly present in .
The first covariate we consider is maximum confidence, defined as
provides a measure of how confident is in predicting the class label of : the higher the value, the greater the confidence.
A second covariate we consider is negative entropy, given by
which also provides a measure (alternative to ) of how confident is in predicting the class label of . Both and (which are also used in the ATC method (Garg et al., 2022)) reach their maximum values when for some , and attain their minimum values for the uniform distribution (i.e., when the ’s all equal 1/).
A third covariate we explore is based on the softmax function , that maps any real-valued vector ,…, into a probability distribution where .
We consider, as the basis for a new covariate, the values returned by the inverse softmax, where and is the logarithm of the normalisation factor . Since is undetermined (the actual values are unknown), we set , thus centreing the resulting values around zero.
The rationale behind inverse softmax to is that of amplifying, in a non-linear way, the difference between low-confidence and high-confidence values. As with MC, we focus on the maximum value. The resulting max inverse softmax (MIS) covariate is thus given by
A Look Back At the Relationships Between QuAcc and the PPS Assumptions
Before discussing our experiments, it is worthwhile to stop for a moment and look back at how and if QuAcc addresses the PPS assumptions. In essence, QuAcc may be seen as performing a relabelling of the datapoints, from a labelling based on codeframe to one based on codeframe .
However, the PPS assumptions underlying our problem setting, and specifically the assumption that the class-conditional densities are stationary (Equation 1), cannot be taken for granted after this relabelling; in other words, the fact that does not mean that , where is a random variable that ranges on .
Luckily, since the original class-conditional distributions are partitioned into two complementary distributions by a deterministic function (the classifier), and since the original class-conditional distributions are assumed to be stationary, the complementary parts remain stationary after the relabelling as well, as illustrated in Figure 1. This is more formally stated in the following proposition, a proof of which is given in Appendix “Proof of Proposition”.
Graphical depiction of the effects of QuAcc’s “relabelling” strategy. A red area depicts a hypothetical distribution of the covariates in the examples of class , while a blue area does the same for the examples of class ; in Figure (a) these are the distributions and of the training data, while in Figure (b) these are the distributions and of the test data. The two figures show an example of PPS, since (i) the class-conditional distribution of the covariates is invariant (i.e., as shown in Figure (c) and (d)), as shown by the fact that the the two red areas have identical shape (and the same goes for the two blue areas), and (ii) the distribution of the priors is not invariant (i.e., ), as shown by the fact that the two red shapes have different size (and the same goes for the two blue curves). The bar labelled represents the classifier, which partitions the examples into predicted positives (here assumed to be to the right of the bar) and predicted negatives (to the left of the bar). The regions of the true negatives (TN), false positives (FP), false negatives (FN), and true positives (TP), are shown in Figures (e), (f), (g), (g), respectively. It is clear from Figures (a) and (b) that each of these four regions has the same shape, but different size, in the training and in the test data; this implies that, if we view TN, FP, FN, TP as classes and relabel our examples accordingly, the PPS assumptions are valid also after the relabelling.
If two distributions and are such that , then a relabelling of the datapoints in from to , with the set of cells of the contingency table resulting from classifying the datapoints in via a classifier , is such that , with a random variable ranging on . □
However, while this reasoning holds for the 1×n2 and n×n variants of QuAcc, it does not apply to the 1×(n+1) variant. In this case, the split merges different parts of the original distributions into the new “background noise” class , which is a mixture of all the class-specific misclassification types with a mixture parameter imposed by the priors of the training distribution. In the binary case, and considering that and , it follows that
As a result, this class cannot accommodate the new prior of the test distribution, i.e., since, by virtue of the PPS assumptions it holds that and but also that the priors change and , and so there is no guarantee that nor ; see Figure 2.
In the method, the region of the false negatives (green region to the left of the bar) is merged with the region of the false positives (green region to the right of the bar) and viewed as a single class . The two figures show that, after the relabelling, the PPS assumptions do not hold any longer, since not only the green areas in the training data and in the test data have different size (which means that , consistently with the PPS assumptions), but they also have different shape (which means that , which conflicts with the PPS assumptions).
Despite this conceptual pitfall, this method is still interesting from the point of view of efficiency: it models fewer classes than the 1×n2 and n×n counterparts (and this is especially true in the multiclass case), and this reduction in the complexity of the model might well pay off in terms of prediction accuracy. We analyse this trade-off empirically in Section “Experiments”.
Experiments
In this section we describe the experiments we have carried out and discuss the results we have obtained.
Evaluation Protocol
A dataset for testing quantification systems is usually the result of the application of an extraction protocol (Esuli et al., 2023, § 3.4) to a dataset otherwise used to test classification systems, where is the training pool, is the validation pool, and is the test pool. (By “pool” we mean a – usually large – set from which various samples will be extracted according to the extraction protocol.)
In the binary case we here use the widely adopted artificial prevalence protocol (APP – Esuli et al. (2023, § 3.4.2)), which consists of randomly extracting from a number of test samples characterised by values of that lie on a predefined grid of values (in this case: the 21-point grid {0.00, 0.05,…, 0.95, 1.00}). In our experiments, for each value on the grid we randomly extract (with replacement) 100 test samples consisting of 1000 datapoints each, for a total of =2100 test samples.
For each value that lies on the 9-point grid (i) we also randomly extract (with replacement) from a training sample with equal to that value, and (ii) we randomly extract (with replacement) from a validation sample with equal to that value. In both cases, these 9 samples are equally sized, and their size is
In both cases, this is the largest possible number that can result in 9 equally-sized without necessarily resorting to re-sampling the same datapoints. In all our experiments we keep ; while using training samples characterised by different values is meant to test our methods under different conditions of class imbalance, stipulating that is meant to simulate the fact that (as mentioned in Section “Problem Setting”) and are sampled from the same distribution .
In the multiclass case, since the application of the APP would result in a number of valid combinations that grows combinatorially with the number of classes, we resort to a variant of the APP based on the Kraemer algorithm for sampling probability distributions uniformly at random (Esuli et al., 2023, § 3.4.3). In other words, in our application of this protocol we still randomly extract (with replacement) from a number of 2100 test samples , each comprised of 1000 datapoints, but instead of insisting that their ’s lie on a grid of predetermined class prevalence values, for each of the 2100 samples we impose that their ’s comply with a probability distribution drawn uniformly at random from the probability simplex according to the Kraemer algorithm.
We use a similar approach to randomly extract (with replacement) from nine training samples , each using a randomly generated distribution; the same distributions are similarly employed to randomly extract (with replacement) from nine validation samples . In both cases, the nine samples are again equally sized, and their sizes are and . This increase in size with respect to the binary case (where sample size is defined by Equations 3 and 4) is made necessary by the higher level of imbalance of the multiclass datasets; since, in Equations 3 and 4, sample size depends on the size of the least frequent class, adopting Equations 3 and 4 for the multiclass case too would excessively reduce the size of the samples. In this case too we keep for all , so as to simulate the fact that and are sampled from the same distribution .
Each result we report is thus the average value of across all combinations of
in the binary case: 9 values of (and ), 21 values of , and 100 samples for each value of ;
in the multiclass case: 9 distributions (and ), and 2100 distributions ;
i.e., across 92100=18,900 combinations for both the binary case and the multiclass case. Therefore, the result of using this protocol is that of “stress-testing” the CAP methods, i.e., testing their ability to correctly estimate classifier accuracy in a wide range of situations, characterised by different values of training class imbalance, test class imbalance, and PPS.
Concerning this latter, note that this experimental protocol clearly simulates PPS, since the distribution of the covariates conditional on the distribution of the labels is the same for the ’s and the ’s, but the distribution of the labels is not the same for the ’s and the ’s (in the language of Section “Problem Setting”, our protocol simulates a situation in which and , i.e., enforces the PPS assumptions).
Datasets
As the datasets from which the data for testing the CAP methods are extracted, we use four binary datasets (see also Table 1) and four multiclass datasets (see also Table 2), all publicly available. Most of our datasets are extracted from Reuters Corpus Volume I - version 2 (RCV1-v2), a multi-label dataset of Reuters newswire stories manually classified under 103 classes, which comes split into a training set of 23,149 stories and a test set of 781,265 stories (Lewis et al., 2004); the other dataset we employ is IMDB (Maas et al., 2011), described below.
Main Features of the Binary Datasets used in this Paper; is the Size of the Training Pool (Which is Equal to , the Size of the Validation Pool), is the Size of the Test Pool, is the Prevalence Value of Class in the Training Pool (Which is the Same as the Prevalence Value of in the Validation Pool ), While is the Size of the Samples used for Classifier Training (which is the Same as the Size of the Samples used for Quantifier Training).
IMDB
12,500
25,000
0.500
6,944
CCAT
11,575
781,265
0.474
5,992
GCAT
11,575
781,265
0.297
3,872
MCAT
11,575
781,265
0.255
3,267
Main Features of the Multiclass Datasets used in this Paper; , , and are Defined as in table 1, is the Number of Classes in , while is the Distribution of the Datapoints in the Training Pool (Which is the Same as the Distribution of of the Datapoints in the Validation Pool ), Reported as an Element of the Probability Simplex ).
Root
9,903
665,265
4
[0.085, 0.25, 0.24]
4,951
CCAT
4,708
319,689
4
[0.109, 0.096, 0.055]
2,354
M1
2,816
190,208
4
[0.102, 0.247, 0.441]
1,408
M14
1,188
77,671
3
[0.124, 0.248]
594
The datasets we use for our binary experiments are:
IMDB, a binary dataset of 50,000 movie reviews classified as positive () or negative (), which comes split into a training set and a test set (25,000 reviews each, both perfectly balanced). We split the above training set into a training pool and a validation pool of 12,500 reviews each via stratified sampling. We use the TFIDF-vectorised version of IMDB provided by the QuaPy library (Moreo et al., 2021).
The CCAT, GCAT, MCAT classes of the RCV1-v2 dataset. From the original set of 103 classes we pick the three largest classes, i.e., CCAT, GCAT, MCAT. For each such class, we split the original training set into a training pool and a validation pool of 11,575 stories each via stratified sampling. We use the TFIDF-vectorised version of this dataset provided by Scikit-Learn (Pedregosa et al., 2011).
The datasets we use for our multiclass experiments are:
The Root, CCAT, M1, M14 nodes in the class hierarchy of RCV1-v2. The classes in the RCV1-v2 dataset are organised in a hierarchical structure, where each class corresponds to a node. Each node is the root of a subtree and can be treated as an independent dataset, with its classes being the direct children of the node and its datapoints being those labelled as belonging to . We select these four nodes as they generate the largest and best-balanced multiclass datasets of RCV1-v2. Before using them, we remove all multi-labelled datapoints so as to generate a purely single-label classification setting. For each dataset, we split its RCV1-v2 training set into a training pool and a validation pool of the same size. The exact sizes of training, validation, and test pools, and the number of classes of the four datasets, are reported in Table 2. We use the vectorised version of RCV1-v2 provided by Scikit-Learn (Pedregosa et al., 2011).
The reason why we choose these datasets is that they are fairly large. Indeed, a large enough number of positive training examples is needed for generating large enough training samples (see Equations 3 and 4), and a large enough number of test examples is needed for generating test samples with only minimal overlap.
Evaluation Measures
As the measure of the error a method incurs when predicting the accuracy of classifier on a set of unlabelled datapoints, we use the absolute difference between the true accuracy value and its estimate, i.e.,
We run experiments with two different measures of classifier accuracy, i.e., vanilla accuracy and , defined, for the binary case, as
and, for the multiclass case, as
with Equation 9 describing the average value of binary (Equation 7) across the classes in (a measure usually called macroaveraged, and noted ).
We do not discuss measures of quantification error since this error is not important in itself but only inasmuch as it leads to accurate estimation of . We thus do not show experimental results in which we measure the quantification error incurred by our quantifiers. However, the quality of the latter can be gauged by comparing the results (see last three rows of Table 3) obtained by using the trivial “Classify and Count” quantification method (that simply counts the number of times a class label has been attributed by the classifier), with those obtained by using quantification methods (described below) robust to PPS such as SLD (Saerens et al., 2002) or KDEy (Moreo et al., 2025).
Results of our Binary Experiments (Expressed in Terms of ) on the IMDB, CCAT, GCAT, MCAT Datasets with Vanilla Accuracy () or as the Classifier Accuracy Measure .
Note: Boldface indicates the best method, while underlining indicates the best baseline. The last row indicates the reduction in error obtained by the best method over the best baseline. No results are available for Mandoline with since (a) its proposers use vanilla accuracy only as the classifier accuracy measure, and since (b) it is not obvious how to modify the Mandoline code for use with a measure different from . (Also the other baselines were tested by their proposers with vanilla accuracy only, but in their case it is immediate to understand how to modify the code for tackling ).
Baselines
As the baselines for our experiments we use the five CAP methods that, in comparative experiments reported in the literature, have proven the best-performing ones, i.e.,
Reverse Classification Accuracy (RCA) (Elsahar & Gallé, 2019), of which we use both variants (RCA and RCA*), since in the authors’ experiments neither of the two was clearly superior to the other;5
Average Threshold Confidence (ATC) (Garg et al., 2022), of which we use the “maxconf” variant since Garg et al. (2022) found it to be the best-performing variant;8
Linear Equations for Accuracy Prediction (LEAP) (Volpi et al., 2024), of which we use the “KDEy” variant, reported to be the best performing one by its authors.9
See Section “Related Work” for a description of these five methods; none of the methods from (a) to (d) has hyperparameters to optimise; for LEAP we could fine-tune the hyperparameters of the underlying quantifier (KDEy), but we decided to use the default ones, mirroring the experimental setup of the original paper (Volpi et al., 2024). We also test a naïve baseline consisting of applying classifier to and using the value of as the estimate of the accuracy of on .
Configuring QuAcc
Within our CAP methods, as the quantification algorithm for estimating the prevalence values of classes (i.e., contingency table cells) in , we experiment with two alternatives, i.e., (a) the well-known Saerens-Latinne-Decaestecker method (SLD) (Saerens et al., 2002), thus called from the names of its proposers, and (b) the recently proposed KDEy method (Moreo et al., 2025); both methods are natively multiclass, which is important since the QuAcc variants of Sections “The Method” and “The Method” require estimating the prevalence values of more than 2 classes in both the binary and the multiclass case, and the QuAcc variant of Section “The Method” requires the same in the multiclass setting.
SLD was the best performer in a recent data challenge devoted to tackling quantification on data affected by PPS (Esuli et al., 2022), and works by training a (calibrated) classifier and then using expectation maximisation (Dempster et al., 1977) (i) to tune the posterior probabilities that the classifier returns, and (ii) to re-estimate the class prevalence values . SLD carries out Steps (i) and (ii) in an iterative, mutually recursive way, until convergence, which occurs when the estimates of the class prevalence values have stabilised. Alexandari et al. (2020) propose a variant of SLD in which, before applying expectation maximisation, the classifier is recalibrated by means of bias-corrected temperature scaling (BCTS – the best performer among the recalibration techniques tested in their paper); we leave the decision whether to apply BCTS or not to the model selection phase.
KDEy (Moreo et al., 2025) is a recent distribution-matching method (Esuli et al., 2023, § 4.2.8) for quantification that models samples by means of Gaussian mixture models over the probability simplex containing the posterior probabilities of the datapoints in the sample. For this purpose, the method relies on kernel density estimation (hence its name). In contrast to previously proposed distribution-matching methods that create class-specific histograms of posterior probabilities, KDEy models multivariate densities, thus accounting for inter-class dependencies. In particular, we use the KDEy-ML variant since, in the experiments of Moreo et al. (2025), it was the best performer and, in particular, proved superior to SLD in multiclass problems.
In our experiments we use the implementations of SLD and KDEy provided by the QuaPy library (Moreo et al., 2021).10
In this work we always use logistic regression as the method for training (i) the classifiers whose accuracy we want to estimate, and (ii) the classifiers that underlie both SLD and KDEy. Note that the classifiers used in (i) and (ii) are independent of each other, i.e., are different classifiers (the former are trained on the ’s while the latter are trained on the ’s) even if they are both trained via logistic regression.
Results
Table 3 summarises all our experimental results for the binary case, and Table 4 does the same for the multiclass case. In both cases, we provide separate results for 8 combinations of a dataset (4 datasets) and a classifier accuracy measure (2 measures). Each figure in Tables 3 and 4 is the average value of the measure across the 92100=18,900 combinations of a training sample (paired with a validation sample drawn from the same distribution) and a test sample . All results refer to systems whose hyperparameters have been optimised on a held-out portion of the validation sample using as the loss function; in particular, model selection (a) chooses the best value for the regularisation parameter of the logistic regression classifier that the quantifier uses, in the range , (b) for the same logistic regression classifier, decides whether to rebalance (by setting the “ClassWeight” hyperparameter to “Balanced”) the datapoints in order to counter the possible class imbalance of the training sample, (c) decides whether to recalibrate (via BCTS) the classifier underlying SLD, (d) chooses the best “bandwidth” for KDEy in the range , (e) checks whether the additional covariates of Section “Adding Covariates” are worth including, and (f) decides which of the three variants of Sections “The Method” to “The Method” should be used. Note that
model selection here concerns the CAP methods, and not the training of , which in all cases we have trained via logistic regression with default parameters;
the variant of QuAcc is excluded from Step (f) of model selection in the multiclass case when the considered evaluation measure is since, as discussed in Section “The Method”, this measure cannot be applied in this case.
Table 5 reports how often, in the binary case, the model selection phase has answered positively for the choices of (b), (c), and (e), while Table 6 reports, for both the binary case and the multiclass case, how often each variant of QuAcc is chosen in Step (f) of model selection.
Results of our Multiclass Experiments (Expressed in Terms of ) on the Root, CCAT, M1, M14 Datasets with Vanilla Accuracy () or as the Classifier Accuracy Measure .
Note: Boldface indicates the best method, while underlining indicates the best baseline. We do not consider the RCA and RCA* (Elsahar & Gallé, 2019) and Mandoline (Chen et al., 2021) baselines in our multiclass experimental setup because of their poor performance in the binary setting and high run time.
Frequencies with which the Model Selection Phase Chooses, in our Binary Experiments, Options Additional Covariates (see Section “Adding Covariates”), BCTS Recalibration (for the SLD quantifier), and Class Balancing (for logistic regression).
Dataset
Quantifier
Additional
Recalibration
Class
Covariates
Balancing
IMDB
SLD
81.49%
77.78%
59.26%
KDEy
71.43%
—
88.18%
CCAT
SLD
62.97%
70.38%
77.78%
KDEy
78.06%
—
84.82%
GCAT
SLD
76.93%
61.54%
65.39%
KDEy
71.36%
—
78.65%
MCAT
SLD
62.97%
48.15%
74.08%
KDEy
71.03%
—
68.70%
Frequencies with which the Model Selection Phase Chooses the three Variants of our Method (, , ).
Dataset
QuAcc(SLD)
QuAcc(KDEy)
binary
IMDB
66.67%
11.11%
22.22%
55.56%
11.11%
33.33%
CCAT
22.22%
66.67%
11.11%
22.22%
55.56%
22.22%
GCAT
0.00%
55.56%
44.44%
11.11%
44.44%
44.44%
MCAT
33.33%
66.67%
0.00%
22.22%
33.33%
44.44%
multiclass
Root
38.89%
44.44%
16.67%
38.89%
38.89%
22.22%
CCAT
44.44%
16.67%
38.89%
50.00%
27.78%
22.22%
M1
44.44%
27.78%
27.78%
38.89%
38.89%
22.22%
M14
11.11%
72.22%
16.67%
44.44%
33.33%
22.22%
Note: Concerning the values of this table, note that they are all multiples of (i.e., ); this is because, for each combination of a dataset and quantifier (SLD or KDEy), 9 model selections (i.e., one for each pair ()) are performed for each of 2 accuracy measures (vanilla accuracy and ).
The main observations we can derive from Tables 3 to 6 are the following:
In the binary case, the best performance, on 6 of the 8 combinations of a dataset and a classifier accuracy measure, is obtained by either QuAcc(SLD) or QuAcc(KDEy), while in the multiclass case this happens for 5 of the 8 combinations; this confirms the validity of the intuitions underlying QuAcc. In the 5 cases (2 binary, 3 multiclass) in which neither QuAcc(SLD) nor QuAcc(KDEy) are the best method, the best method is LEAP.
While the best performer is in most cases (11 out of 16 combinations) one of QuAcc(SLD) and QuAcc(KDEy), it is not always the same. (This is true also for the baselines, since the best baseline is not always the same: it is LEAP in 14 out of 16 cases, and it is DoC in the other 2 cases.) QuAcc(SLD) is the best on 7 combinations (4 in the binary case and 3 in the multiclass case) and QuAcc(KDEy) on 4 (2 in the binary case and 2 in the multiclass case). It is noteworthy, though, that in 7 out of the 11 combinations in which the best method is one of QuAcc(SLD) and QuAcc(KDEy), both methods beat the best baseline.
In terms of the amounts of error reduction that our methods obtain with respect to the best baseline when they turn out to be the best method overall (see last row of Tables 3 and 4), these amounts are noteworthy, with important peaks of in the binary case (IMDB/) and in the multiclass case (M14/). However, it must also be noted that when the best method overall is LEAP, also the latter displays noteworthy amounts of error reduction with respect to QuAcc, with peaks of in the binary case (GCAT/) and of in the multiclass case (Root/).
Table 6 shows that all the three methods discussed in Sections “The Method” to “The Method” are chosen in the model selection phase a substantive number of times. Out of 288 invocations of model selection (8 datasets 2 quantification methods 9 pairs 2 accuracy measures), Method is selected 98 times (42 in the binary case and 56 in the multiclass case), Method is selected 116 times (62 in the binary case and 54 in the multiclass case), and Method is selected 74 times (40 in the binary case and 34 in the multiclass case). This shows that none of them is a strawman, while also confirming the intuition that Method is superior to Method , given that it additionally exploits the knowledge of each .
QuAcc(CC), a variant of QuAcc that uses the trivial “Classify and Count” (CC) quantifier, is (see 3rd-to-last row of Tables 3 and 4) either the best or the second best baseline in 10 out of 16 combinations. Since CC is not robust to PPS (Esuli et al., 2023, § 1.2), this result shows that the idea of estimating the prevalence values of the cells of the contingency table is a good idea in itself. However, QuAcc(CC) always dramatically underperforms QuAcc(SLD) and QuAcc(KDEy), which shows that using “true” quantification algorithms robust to PPS for performing this estimation is also a good idea. This observation is further reinforced by the fact that the best baseline method LEAP is also one that builds on top of quantification techniques.
Finally, as can be seen in Table 5, (a) BCTS recalibration and (b) class rebalancing of the logistic regression classifier that underlies the SLD quantification method, and (c) the use of the additional covariates when training the quantification algorithms, are all fruitful ideas, since model selection more frequently adopts them than not.
We have performed statistical significance tests at different confidence levels so as to check the differences in performance between the best method and all other methods. In Table 3 and 4, all methods whose scores are not statistically significantly different from the best one, according to a Student’s -test on paired samples, are marked with if p-value or with if p-value; the absence of any such symbol thus indicates that p-value . What emerges, for the binary results, is that the performance of QuAcc(SLD) is not significantly different from that of the best method LEAP in one of the two combinations in which LEAP is the best method (MCAT/); for all the combinations in which one of QuAcc(SLD) and QuAcc(KDEy) is the best method, the performance of all the baselines is significantly different from the performance of these two methods. In the multiclass case, in 2 of the 5 combinations in which one of QuAcc(SLD) and QuAcc(KDEy) beats all the baselines, the performance of the best baseline LEAP is not significantly different to that of the best method; in all 3 combinations in which LEAP is the best method, instead, the performance of LEAP is significantly different from that of both QuAcc(SLD) and QuAcc(KDEy). It is also noteworthy that, on 3 of the 7 combinations (both binary and multiclass) in which both QuAcc(SLD) and QuAcc(KDEy) beat the best baseline, the error values of the two methods are not significantly different.
Figure 3 displays the CAP error (measured in terms of the function of Equation 5) that different methods produce when predicting the accuracy (here: vanilla accuracy) of a classifier. CAP error (on the y-axis) is plotted as a function of the amount of PPS (along the x-axis) between the training sample and the test sample; the plotted values are averages across all tested pairs consisting of a training sample (here: of the CCAT binary dataset) and a test sample that display the indicated amount of PPS. The plot reveals how QuAcc(SLD) and QuAcc(KDEy) tend to perform steadily at different amounts of PPS, predicting classifier accuracy with a slightly higher error than the baselines when the amount of PPS is low, but behaving substantially better when the amount of PPS grows. Even though this plot refers to the results for the binary dataset CCAT only, we have observed this trend in all our experiments.
Classifier accuracy prediction error as a function of the amount of PPS, averaged over the training samples extracted for the binary dataset CCAT; the classification accuracy measure is vanilla accuracy. For ease of display, only the five best-performing CAP methods are shown.
Figure 4 displays the estimated vanilla accuracy (indicated on the y-axis) as a function of the true vanilla accuracy (indicated on the x-axis) for dataset CCAT; the example concerns the case in which the training prevalence is . This plot shows that, when the positive datapoints outnumber the negative datapoints, ATC and DoC tend to overestimate the classifier’s accuracy, especially in cases in which the classifier does not perform well. LEAP tends instead to underestimate the classifier’s accuracy when the classifier does not perform well, while it tends to overestimate this accuracy in cases when the classifier performs well. QuAcc(SLD) and QuAcc(KDEy) instead closely follow the diagonal, which represents the ideal behaviour for a CAP method.
Estimated vanilla accuracy (y-axis) as a function of the true vanilla accuracy (x-axis) for dataset CCAT and training sample drawn from distribution .
Conclusion
We have presented QuAcc, a new method for predicting classifier accuracy under PPS, an important type of dataset shift. QuAcc is built on top of “quantification” methods robust to PPS, i.e., methods devised for estimating the class prevalence values in samples of unlabelled datapoints affected by PPS. QuAcc is based on the key intuition of viewing the cells of the contingency table, which is used for computing classifier accuracy, as classes, and of training a quantifier that estimates the values of these cells. The experiments we run on eight large datasets simulate a wide variety (a) of amounts of training and/or test data imbalance, and (b) of amounts of PPS. The results of these experiments show that QuAcc systematically outperforms four of the five state-of-the-art baselines we have employed, while managing to outperform the fifth (LEAP (Volpi et al., 2024)) in 11 experimental configurations out of 16, and exhibiting, in these configurations, average levels of error reduction (with respect to the best such baseline) ranging from to . QuAcc is independent of the algorithm used for training the classifier, of the algorithm used for training the quantifier, and of the metric used for measuring classifier accuracy.
We plan to extend this research by testing our algorithms on the more challenging scenario in which the data on which the quantifier is trained and the data on which the classifier was trained are related by PPS. Additional future research we intend to carry out concerns the problem of classifier accuracy prediction under types of dataset shift different from PPS, such as covariate shift. This might not necessarily mean devising methods alternative to QuAcc, but might mean instantiating QuAcc with quantification methods which prove robust to types of dataset shift different from PPS. This may prove non-trivial, though, since most of the quantification literature has focused on PPS (González et al., 2024; Pérez-Mon et al., 2025), somehow neglecting other types of dataset shift.
Footnotes
Acknowledgments
Lorenzo Volpi’s work was supported by project “Italian Strengthening of ESFRI RI RESILIENCE” (ITSERR), funded by the European Union under the NextGenerationEU funding scheme (CUP B53C22001770006). Alejandro Moreo’s and Fabrizio Sebastiani’s work was partially supported by project “Future Artificial Intelligence Research” (FAIR), project “Quantification under Dataset Shift” (QuaDaSh), and project “Strengthening the Italian RI for Social Mining and Big Data Analytics” (SoBigData.it), all funded by the European Union under the NextGenerationEU funding scheme (CUP B53D22000980006, CUP B53D23026250001, CUP B53C22001760006, respectively).
ORCID iDs
Lorenzo Volpi
Alejandro Moreo
Fabrizio Sebastiani
Funding
The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: The author(s) received financial support as stated in Section “Acknowledgments” for the research, authorship and publication of this article.
Declaration of Conflicting Interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Notes
References
1.
AlexandariA.KundajeA.ShrikumarA. (2020). Maximum likelihood with bias-corrected calibration is hard-to-beat at label shift adaptation. In Proceedings of the 37th International Conference on Machine Learning (ICML 2020) (pp. 222–232). Virtual Event.
2.
BhaskaruniD.MossF. P.LanC. (2018). Estimating prediction qualities without ground truth: A revisit of the reverse testing framework. In Proceedings of the 24th International Conference on Pattern Recognition (ICPR 2018) (pp. 49–54). Beijing, CN. DOI: https://doi.org/10.1109/ICPR.2018.8545706.
3.
ChenM.GoelK.SohoniN. S.PomsF.FatahalianK.RéC. (2021). Mandoline: Model evaluation under distribution shift. In Proceedings of the 38th International Conference on Machine Learning (ICML 2021) (pp. 1617–1629) Virtual Event.
4.
ChenJ.LiuF.AvciB.WuX.LiangY.JhaS. (2021). Detecting errors and estimating accuracy on unlabeled data with self-training ensembles. In Proceedings of the 35th Conference on Neural Information Processing Systems (NeurIPS 2021) (pp. 14980–14992). Virtual Event.
5.
DempsterA. P.LairdN. M.RubinD. B. (1977). Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society, B, 39(1), 1–38.
6.
DengW.ZhengL. (2021). AutoEval: Are labels always necessary for classifier accuracy evaluation?. In Proceedings of the 2021 IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2021) (pp. 15069–15078). Virtual Event. DOI: https://doi.org/10.1109/TPAMI.2021.3136244.
7.
ElsaharH.GalléM. (2019). To annotate or not? Predicting performance drop under domain shift. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP 2019) (pp. 2163–2173). Hong Kong, CN. DOI: https://doi.org/10.18653/v1/D19-1222.
8.
EsuliA.FabrisA.MoreoA.SebastianiF. (2023). Learning to quantify. Springer Nature, Cham, CH.
9.
EsuliA.MoreoA.SebastianiF.SperdutiG. (2022). A detailed overview of LeQua 2022: Learning to quantify. In Working Notes of the 13th Conference and Labs of the Evaluation Forum (CLEF 2022) Bologna, IT.
10.
GargS.BalakrishnanS.LiptonZ. C.NeyshaburB.SedghiH. (2022). Leveraging unlabeled data to predict out-of-distribution performance. In Proceedings of the 10th International Conference on Learning Representations (ICLR 2022) Virtual Event.
11.
GonzálezP.MoreoA.SebastianiF. (2024). Binary quantification and dataset shift: An experimental investigation. Data Mining and Knowledge Discovery, 38(4), 1670–1712. https://doi.org/10.1007/s10618-024-01014-1
12.
GuilloryD.ShankarV.EbrahimiS.DarrellT.SchmidtL. (2021). Predicting with confidence on unseen distributions. In Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision (ICCV 2021) (pp. 1114–1124). Montreal, CA. DOI: https://doi.org/10.1109/ICCV48922.2021.00117.
13.
JiangY.NagarajanV.BaekC.KolterJ. Z. (2022). Assessing generalization of SGD via disagreement. In Proceedings of the International Conference on Learning Representations (ICLR 2022) Virtual Event.
14.
LewisD. D.YangY.RoseT. G.LiF. (2004). RCV1: A new benchmark collection for text categorization research. Journal of Machine Learning Research, 5, 361–397.
15.
LiptonZ. C.WangY.SmolaA. J. (2018). Detecting and correcting for label shift with black box predictors. In Proceedings of the 35th International Conference on Machine Learning (ICML 2018) (pp. 3128–3136). Stockholm, SE.
16.
MaasA. L.DalyR. E.PhamP. T.HuangD.NgA. Y.PottsC. (2011). Learning word vectors for sentiment analysis. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics (ACL 2011) (pp. 142–150). Portland, US.
MoreoA.EsuliA.SebastianiF. (2021). QuaPy: A Python-based framework for quantification. In Proceedings of the 30th ACM International Conference on Knowledge Management (CIKM 2021) (pp. 4534–4543). Gold Coast, AU. DOI: https://doi.org/10.1145/3459637.3482015.
19.
PedregosaF.VaroquauxG.GramfortA.MichelV.ThirionB.GriselO.BlondelM.PrettenhoferP.WeissR.DubourgV.VanderplasJ.PassosA.CournapeauD.BrucherM.PerrotM.DuchesnayE. (2011). Scikit-learn: Machine learning in python. Journal of Machine Learning Research, 12, 2825–2830.
20.
Pérez-MonO.del CozA.MoreoJ. J.GonzálezP. (2025). Quantification using permutation-invariant networks based on histograms. Neural Computing and Applications, 37, 3505–3520. https://doi.org/10.1007/s00521-024-10721-1
21.
Quiñonero-CandelaJ.SugiyamaM.SchwaighoferA.LawrenceN. D. (2009). Dataset shift in machine learning. The MIT Press, Cambridge, US.
22.
RedyukS.SchelterS.RukatT.MarklV.BießmannF. (2019). Learning to validate the predictions of black box machine learning models on unseen data. In Proceedings of the Workshop on Human-In-the-Loop Data Analytics (HILDA@SIGMOD 2019) (pp. 4:1–4:4). Amsterdam, NL. https://doi.org/10.1145/3328519.3329126.
23.
SaerensM.LatinneP.DecaesteckerC. (2002). Adjusting the outputs of a classifier to new a priori probabilities: A simple procedure. Neural Computation, 14(1), 21–41. https://doi.org/10.1162/089976602753284446
24.
SugiyamaM.NakajimaS.KashimaH.BuenauP.KawanabeM. (2007). Direct importance estimation with model selection and its application to covariate shift adaptation. In Proceedings of the 21st Conference on Advances in Neural Information Processing Systems (NIPS 2007) (pp. 1433–1440) Vancouver, CA.
25.
VolpiL. (2024). Estimating classifier accuracy under dataset shift. Master’s Thesis, University of Pisa, Pisa, Italy.
26.
VolpiL.MoreoA.SebastianiF. (2024). A simple method for classifier accuracy prediction under prior probability shift. In Proceedings of the 27th International Conference on Discovery Science (DS 2024) (pp. 267–283). Pisa, IT. https://doi.org/10.1007/978-3-031-78980-9_17.
27.
YouS. D.LiuH.LiuC. (2022). Predicting classification accuracy of unlabeled datasets using multiple deep neural networks. IEEE access, 10, 44627–44637. https://doi.org/10.1109/ACCESS.2022.3169279