m5_demand_type {m5}R Documentation

Classify time series of the particular items

Description

Each time series in the dataset can be assigned one of the following classes:

Usage

m5_demand_type(data)

Arguments

data

The result of the m5_prepare function; tiny_m5 can be passed as well.

Details

Value

A data.table containing item ids (item_id and store_id), ADI and CV2 scores (adi and cv2 respectively) as well as the final class chosen based on the aforementioned scores (demand_type).

References

Syntetos A. A. and Boylan J. E., 2005, The accuracy of intermittent demand estimates. International Journal of Forecasting 21: 303–314 Forecast Error Measures: Intermittent Demand

Examples

head(m5_demand_type(tiny_m5))


[Package m5 version 0.1.1 Index]