Skip to content

APP generating unexpected number of testing points #26

Closed Answered by AlexMoreo
lucasnil asked this question in Q&A
Discussion options

You must be logged in to vote

You are right! The problem was that quapy check's for combinations of values that generate plausible prevalence vectors, i.e., prevance vectors summing up to 1. Unfortunately, when you work with floats, it sometimes happens that the rounding error accumulates and produces values that were slightly >1 (e.g., 1.000000001) resulting some values to be discarded. I have fixed it now in the master branch (thanks for noticing it!).
In any case, the APP protocol is falling into disuse in favor of modern protocols like the UPP. This protocol implements the Kraemer sampling algorithm for yielding samples with prevalence values uniformly distributed. In UPP you can specify how many samples you want …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lucasnil
Comment options

Answer selected by lucasnil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants