pred_demand_period: Predict demand with models for each period

Description Usage Arguments Value

View source: R/models.R

Description

Predict demand with models for each period

Usage

1
pred_demand_period(data, train_idx, test_idx, ...)

Arguments

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'.

Value

Vector of predictions.


gprashal0706/chevckit documentation built on Dec. 20, 2021, 12:45 p.m.