tiny_m5 {m5}R Documentation

A subset from M5 Walmart Challenge Dataset in one data frame

Description

A piece of data cut from the training dataset used in the M5 challenges on Kaggle. M5 is a challenge from a series organized by Spyros Makridakis.

Usage

tiny_m5

Format

item_id

The id of the product

dept_id

The id of the department the product belongs to

cat_id

The id of the category the product belongs to

store_id

The id of the store where the product is sold

state_id

The State where the store is located

value

The number of sold units

date

The date in a “y-m-d” format

wm_yr_wk

The id of the week the date belongs to

weekday

The type of the day (Saturday, Sunday, …, Friday)

wday

The id of the weekday, starting from Saturday

month

The month of the date

year

The year of the date

event_name_1

If the date includes an event, the name of this event

event_type_1

If the date includes an event, the type of this event

event_name_2

If the date includes a second event, the name of this event

event_type_2

If the date includes a second event, the type of this event

snap

A binary variable (0 or 1) indicating whether the stores of CA, TX or WI allow SNAP1 purchases on the examined date. 1 indicates that SNAP purchases are allowed

sell_price

The price of the product for the given week/store. The price is provided per week (average across seven days). If not available, this means that the product was not sold during the examined week. Note that although prices are constant at weekly basis, they may change through time (both training and test set)

See Also

M5 Forecasting - Accuracy

M5 Forecasting - Uncertainty

The M5 competition: Background, organization, and implementation

Other Walmart datasets in timetk

Examples

library(m5)
# Head of tiny_m5
head(tiny_m5)

[Package m5 version 0.1.1 Index]