class Signals::ExponentialMovingAverage

指数移動平均

Public Class Methods

new(range = 25, smoothing_coefficient = 0.1) click to toggle source

コンストラクタ

range

集計期間

smoothing_coefficient

平滑化係数

Calls superclass method Signals::RangeSignal.new
# File src/jiji/model/agents/builtin_files/signals.rb, line 73
def initialize(range = 25, smoothing_coefficient = 0.1)
  super(range)
  @sc = smoothing_coefficient
end