#include <ForecastModel.h>
◆ evaluateForecast()
| double ForecastModel::evaluateForecast |
( |
const std::vector< Transaction > & |
actual | ) |
|
|
inline |
◆ forecastNextMonth()
| double ForecastModel::forecastNextMonth |
( |
const std::vector< Transaction > & |
history | ) |
|
|
inline |
◆ rollingAverage()
| double ForecastModel::rollingAverage |
( |
const std::vector< double > & |
values, |
|
|
int |
window |
|
) |
| |
|
inline |
◆ trainModel()
| void ForecastModel::trainModel |
( |
const std::vector< Transaction > & |
history | ) |
|
|
inline |
◆ confidence
| double ForecastModel::confidence = 0.8 |
◆ forecastHorizon
| int ForecastModel::forecastHorizon = 30 |
The documentation for this class was generated from the following file: