A mixin measurer which adds an amount of Gaussian noise to the measurement relative
to its mean.
An observations sequence mean m is computed.
A random Gaussian value is sampled for each measurement x in the observations sequence.
It is multiplied with m / 10.0 times Key.noiseMagnitude (default 0.0).
Call this multiplication factor f.
The resulting value is clamped into the range x - f, x + f.
The bottomline is - a 1.0 noise magnitude is a variation of 10% of the mean.
$noise
Linear Supertypes
Noise, Measurer, Serializable, Serializable, AnyRef, Any
A mixin measurer which adds an amount of Gaussian noise to the measurement relative to its mean.
An observations sequence mean
m
is computed. A random Gaussian value is sampled for each measurementx
in the observations sequence. It is multiplied withm / 10.0
timesKey.noiseMagnitude
(default0.0
). Call this multiplication factorf
. The resulting value is clamped into the rangex - f, x + f
.The bottomline is - a
1.0
noise magnitude is a variation of10%
of the mean.$noise