noise_ones: Filter to add ones noise

View source: R/filter.R

noise_onesR Documentation

Filter to add ones noise

Description

A data filter which replaces some values with ones

Usage

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 \link{apply_filter}

See Also

Other noise generators: noise_cauchy(), noise_gaussian(), noise_saltpepper(), noise_zeros()


ruta documentation built on Jan. 9, 2023, 1:20 a.m.