Augmentation (Implementation)#

class NoiseAugmentation(noise_ratio)[source]#

Bases: Augmentation

Description
Adds noise to the results of the augmented DataSource.
Parameters:

noise_ratio (float) – Standard deviation from actual result (default = 0.01)

noise_ratio: float = 0.01#
query(self, queries) data_points[source]#
Description
Applies random noise with the given standard deviation noise_ratio to the result.
Parameters:

queries (NDArray) – Requested Query

Returns:

Processed Query, Result

Return type:

A tuple of two NDArray

rng = Generator(PCG64) at 0x7FF8574B3740#