class TeaLeaves::ExponentialSmoothingForecast::NoSeasonalityStrategy

Public Instance Methods

apply(forecast, parameters, n) click to toggle source
# File lib/tealeaves/exponential_smoothing_forecast.rb, line 66
def apply(forecast, parameters, n)
  forecast
end
new_values(*args) click to toggle source
# File lib/tealeaves/exponential_smoothing_forecast.rb, line 58
def new_values(*args)
  []
end
p(value, params) click to toggle source
# File lib/tealeaves/exponential_smoothing_forecast.rb, line 51
def p(value, params)
  value
end
start_index() click to toggle source
# File lib/tealeaves/exponential_smoothing_forecast.rb, line 62
def start_index
  1
end
t(value, new_level) click to toggle source
# File lib/tealeaves/exponential_smoothing_forecast.rb, line 55
def t(value, new_level)
end