#include <prediction.h>
Public Methods | |
MonthlyDataSet () | |
MonthlyDataSet (const Matrix &matrix, int dateYYMM=0, int lag=0) | |
Ref< MonthlyDataSet > | sub (int row0, int row1, int col0, int col1) const |
int | lag () const |
void | setLag (int lag) |
int | firstMonth0 () const |
void | setFirstMonth0 (int m0) |
Definition at line 53 of file prediction.h.
|
Default constructor.
Definition at line 57 of file prediction.h. Referenced by sub(). |
|
Typical constructor for the monthly data set.
Definition at line 60 of file prediction.h. References lag(), mFirstMonth0, mFirstYear, and mLag. |
|
Returns the zero-based number of the first month in the data set.
Definition at line 82 of file prediction.h. |
|
Returns number of lag months for prediction.
Definition at line 76 of file prediction.h. Referenced by MonthlyDataSet(), and setLag(). |
|
Sets the zero-based number of the first month in the data set.
Definition at line 85 of file prediction.h. |
|
Sets number of lag months for prediction.
Definition at line 79 of file prediction.h. References lag(). |
|
Returns a subset of the data set.
Definition at line 50 of file prediction.cc. References MonthlyDataSet(). |