Predict point prediction using lightgbm
1 | pred_point(data, train_idx, test_idx, response_idx, ...)
|
data |
(data frame) Data frame containing predictors and response variable 'demand_mw'. |
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 |
response_idx |
(integer) Column index of response variable in 'data'. |
... |
Additional arguments passed to 'lgb.fit'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.