# Diamonds | datamad1022 — Data

来源：https://www.kaggle.com/competitions/diamonds-datamad1022/data

采集时间：2026-10-19T23:21:09Z


**Data**

In this section you will find data needed to train your model and a detailed description of it.

**Files**

- `train.csv`: training set
- `test.csv`: test set
- `sample_submission.csv`: sample submission
**Features**

- `id`: only for test & sample submission files, id for prediction sample identification
- `price`: price in USD
- `carat`: weight of the diamond
- `cut`: quality of the cut (Fair, Good, Very Good, Premium, Ideal)
- `color`: diamond colour
- `clarity`: a measurement of how clear the diamond is
- `x`: length in mm
- `y`: width in mm
- `z`: depth in mm
- `depth`: total depth percentage = z / mean(x, y) = 2 * z / (x + y) (43--79)
- `table`: width of top of diamond relative to widest point (43--95)
