# Grupo Bimbo Inventory Demand — Data

来源：https://www.kaggle.com/competitions/grupo-bimbo-inventory-demand/data

本地 Meta Kaggle 快照；不是本次实时页面。

# Dataset Description

<p>In this competition, you will forecast the demand of a product for a given week, at a particular store. The dataset you are given consists of 9 weeks of sales transactions in Mexico. Every week, there are delivery trucks that deliver products to the vendors. Each transaction consists of sales and returns. Returns are the products that are unsold and expired. The demand for a product in a certain week is defined as the sales this week subtracted by the return next week.</p>
<p><br />The train and test dataset are split based on time, as well as the public and private leaderboard dataset split.</p>
<p><br /><strong>Things to note:</strong></p>
<ul>
<li>There may be products in the test set that don't exist in the train set. This is the expected behavior of inventory data, since there are new products being sold all the time. Your model should be able to accommodate this.</li>
<li>There are duplicate Cliente_ID's in cliente_tabla, which means one Cliente_ID may have multiple NombreCliente that are very similar. This is due to the NombreCliente being noisy and not standardized in the raw data, so it is up to you to decide how to clean up and use this information. </li>
<li>The adjusted demand (Demanda_uni_equil) is always &gt;= 0 since demand should be either 0 or a positive value. The reason that Venta_uni_hoy - Dev_uni_proxima sometimes has negative values is that the returns records sometimes carry over a few weeks.</li>
</ul>
<h2>File descriptions</h2>
<ul>
<li><strong>train.csv</strong> — the training set</li>
<li><strong>test.csv </strong>— the test set</li>
<li><strong>sample_submission.csv</strong> — a sample submission file in the correct format</li>
<li><strong>cliente_tabla.csv</strong> — client names (can be joined with train/test on Cliente_ID)</li>
<li><strong>producto_tabla.csv</strong> — product names (can be joined with train/test on Producto_ID)</li>
<li><strong>town_state.csv</strong> — town and state (can be joined with train/test on Agencia_ID)</li>
</ul>
<h2>Data fields</h2>
<ul>
<li><strong>Semana</strong> — Week number (From Thursday to Wednesday)</li>
<li><strong>Agencia_ID</strong> — Sales Depot ID</li>
<li><strong>Canal_ID</strong> — Sales Channel ID</li>
<li><strong>Ruta_SAK</strong> — Route ID (Several routes = Sales Depot)</li>
<li><strong>Cliente_ID</strong> — Client ID</li>
<li><strong>NombreCliente</strong> — Client name</li>
<li><strong>Producto_ID</strong> — Product ID</li>
<li><strong>NombreProducto</strong> — Product Name</li>
<li><strong>Venta_uni_hoy</strong> — Sales unit this week (integer)</li>
<li><strong>Venta_hoy</strong> — Sales this week (unit: pesos)</li>
<li><strong>Dev_uni_proxima</strong> — Returns unit next week (integer)</li>
<li><strong>Dev_proxima</strong> — Returns next week (unit: pesos)</li>
<li><strong>Demanda_uni_equil</strong> — Adjusted Demand (integer) <strong>(This is the target you will predict)</strong></li>
</ul>