# Avito Demand Prediction Challenge — Data

来源：https://www.kaggle.com/competitions/avito-demand-prediction/data

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

# Dataset Description

## Update
To make it easier to download the training images, we have added several smaller zip archives that hold the same images as train_jpg.zip. If you have already downloaded train_jpg.zip you can ignore these completely.

## File and column descriptions

- **train.csv** - Train data.
    *    `item_id`  - Ad id.
    *    `user_id` - User id.
    *    `region` - Ad region.
    *    `city` - Ad city.
    *    `parent_category_name` - Top level ad category as classified by Avito's ad model.
    *    `category_name` - Fine grain ad category as classified by Avito's ad model.
    *    `param_1` - Optional parameter from Avito's ad model.
    *    `param_2` - Optional parameter from Avito's ad model.
    *    `param_3` - Optional parameter from Avito's ad model.
    *    `title` - Ad title.
    *    `description` - Ad description.
    *    `price` - Ad price.
    *    `item_seq_number` - Ad sequential number for user.
    *    `activation_date`- Date ad was placed.
    *    `user_type` - User type.
    *    `image` - Id code of image. Ties to a jpg file in train_jpg. Not every ad has an image.
    *    `image_top_1` - Avito's classification code for the image.
    *    `deal_probability` - **The target variable**. This is the likelihood that an ad actually sold something. It's not possible to verify every transaction with certainty, so this column's value can be any float from zero to one.
- **test.csv** - Test data. Same schema as the train data, minus deal_probability.
- **train_active.csv** - Supplemental data from ads that were displayed during the same period as train.csv. Same schema as the train data minus deal_probability, image, and image_top_1.
- **test_active.csv** -  Supplemental data from ads that were displayed during the same period as test.csv. Same schema as the train data minus deal_probability, image, and image_top_1.
- **periods_train.csv** - Supplemental data showing the dates when the ads from train_active.csv were activated and when they where displayed.
    *    `item_id`  - Ad id. Maps to an id in train_active.csv. IDs may show up multiple times in this file if the ad was renewed.
    *    `activation_date`  - Date the ad was placed.
    *    `date_from`  - First day the ad was displayed.
    *    `date_to`  - Last day the ad was displayed.
- **periods_test.csv** - Supplemental data showing the dates when the ads from test_active.csv were activated and when they where displayed. Same schema as periods_train.csv, except that the item ids map to an ad in test_active.csv.
- **train_jpg.zip** - Images from the ads in train.csv.
- **test_jpg.zip** - Images from the ads in test.csv.
- **sample_submission.csv** - A sample submission in the correct format.
- **train_jpg_{0, 1, 2, 3, 4}.zip** - These are the exact same images as you'll find in train_jpg.zip but split into smaller zip archives so the data are easier to download. If you already have train_jpg.zip you do NOT need to download these. We have not made these zips available in kernels as they would only increase the kernel creation time.