R/filter.R
noise_gaussian.RdA data filter which adds Gaussian noise to instances
noise_gaussian(sd = NULL, var = NULL)
| sd | Standard deviation for the Gaussian distribution |
|---|---|
| var | Variance of the Gaussian distribution (optional, only used
if |
Object which can be applied to data with apply_filter
Other noise generators: noise_cauchy,
noise_ones, noise_saltpepper,
noise_zeros