The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
M5 Walmart Challenge Data
You can install the development version of m5 from GitHub with:
# install.packages("devtools")
::install_github("krzjoa/m5") devtools
library(m5)
library(zeallot)
library(ggplot2)
<- 'data'
DIR
# Downloading the data
m5_download(DIR)
# Loading the data
c(sales_train,
sales_test,
sell_prices,
calendar,%<-% m5_get_raw_evaluation(DIR)
weights)
# Preparing the data
<-
m5_data m5_prepare(sales_train, sales_test, calendar, sell_prices)
# Demand classification
<- m5_demand_type(m5_data)
m5_demand
<-
foods_1_demand startsWith(as.character(m5_demand$item_id), "FOODS_1")]
m5_demand[
<-
plot ggplot(foods_1_demand) +
geom_point(aes(log(cv2), log(adi),
item_id = item_id, col = demand_type)) +
geom_hline(yintercept = log(1.32)) +
geom_vline(xintercept = log(0.49)) +
theme_minimal()
plot
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.