A data filter which replaces some values with ones

noise_ones(p = 0.05)

Arguments

p Probability that a feature in an instance is set to one

Value

Object which can be applied to data with apply_filter

Other noise generators: noise_cauchy, noise_gaussian, noise_saltpepper, noise_zeros