Class: TeaLeaves::ExponentialSmoothingForecast::NoSeasonalityStrategy
Instance Method Summary
collapse
#initialize
Instance Method Details
#apply(forecast, parameters, n) ⇒ Object
66
67
68
|
# File 'lib/tealeaves/exponential_smoothing_forecast.rb', line 66
def apply(forecast, parameters, n)
forecast
end
|
#new_values(*args) ⇒ Object
58
59
60
|
# File 'lib/tealeaves/exponential_smoothing_forecast.rb', line 58
def new_values(*args)
[]
end
|
#p(value, params) ⇒ Object
51
52
53
|
# File 'lib/tealeaves/exponential_smoothing_forecast.rb', line 51
def p(value, params)
value
end
|
#start_index ⇒ Object
62
63
64
|
# File 'lib/tealeaves/exponential_smoothing_forecast.rb', line 62
def start_index
1
end
|
#t(value, new_level) ⇒ Object
55
56
|
# File 'lib/tealeaves/exponential_smoothing_forecast.rb', line 55
def t(value, new_level)
end
|