simulPU {PUlasso} | R Documentation |
simulated PU data
Description
A simulated data for the illustration.
Covariates are drawn from
or
with probability 0.5.
To make the first two variables active,
and we set
Responses
is simulated via
.
1000 observations are sampled from the sub-population of positives(y=1) and labeled, and another 1000 observations are sampled from the original population and unlabeled.
Usage
data('simulPU')
Format
A list containing model matrix X, true response y, labeled/unlabeled response vector z, and a true positive probability truePY1.
[Package PUlasso version 3.2.5 Index]