Input: positive group , unlabeled group , number of splits in consensus Monte Carlo, number of iterations and burn-in size in MCMC, prior distributions for the set of all parameters in the model |
Output: posterior distributions and classification probabilities
|
Split into subgroups with equal sizes |
for
to
do:
|
Combine and as data
|
Perform MCMC on data to obtain posterior samples for in the loop: |
for
to
|
For the collection , where each represents a parameter in the model |
Draw a sample from its full conditional distribution , denote
|
Let
|
end for
|
Discard burn-in samples and combine the rest posterior samples from all subgroups |
according to certain weights for the subgroups |
end for
|
Return
approximated by posterior samples and computed using posterior samples
|