Description Usage Arguments Value
View source: R/create_validation_set.R
Splits data validation data
1 2 | create_validation_set(data, time_col, location_col, response_col,
covariate_cols, prediction_steps, covariate_change = "Constant")
|
time_col |
name of column containing time point of each observation |
location_col |
name of column containing location of each observation |
response_col |
name of column containing response |
covariate_cols |
name of column containing the value for ab consumption |
prediction_steps |
number of time steps ahead to predict (assumes intervals are constant) |
covariate_change |
Default is Constant. Will assume that ab consumption remains same as last observed time point |
Data |
dataframe containing all variables and covariates and time and location of each observation |
A list containing training data and the validation data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.