View Source Rein.Utils.Noise.OUProcess (rein v0.1.0)

Ornstein-Uhlenbeck (OU for short) noise generator for temporally correlated noise.

Summary

Functions

Resets the process to the initial value.

Samples the process and returns the updated state and the updated random_key.

Functions

Initializes the Elixir.Rein.Utils.Noise.OUProcess.

Options

  • :theta - the temperature parameter. Defaults to 0.15.
  • :sigma - the standard deviation parameter. Defaults to 0.2.
  • :mu - the initial mean for the distribution. Defaults to 0.
  • :type - the output type for the samples. Should be floating point. Defaults to :f32.

Resets the process to the initial value.

Link to this function

sample(random_key, state)

View Source

Samples the process and returns the updated state and the updated random_key.

The new sample is contained within state.x.