Description Usage Arguments Value
Predict demand with models for each period
1 | pred_demand_period(data, train_idx, test_idx, ...)
|
data |
(data frame) Data frame containing predictors and response variable 'demand_mw'. Must also contain 'period' column. |
train_idx |
(integer) Vector of integers specifying which rows to use for training model |
test_idx |
(integer) Vector of integers specifying which rows to use for testing model |
... |
Additional arguments passed to 'lgb.fit'. |
Vector of predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.