perturb {OTclust} | R Documentation |
Perturb data by adding noise, bootstrapping or mix-up
Description
Perturb data by adding Gaussian noise, bootstrap resampling or mix-up. Gaussian noise has mean 0 and variance 0.01*average variance of all variables. The mix-up lambda is 0.9.
Usage
perturb(data, method = 0)
Arguments
data |
– data that will be perturbed. |
method |
– adding noise is |
Value
the perturbed data.
Examples
data(vis_pollen)
perturb(as.matrix(vis_pollen$vis),method=0)
[Package OTclust version 1.0.6 Index]