File size: 1,793 Bytes
c540bf6
 
 
 
91203a1
c540bf6
91203a1
ad761ef
91203a1
c540bf6
ad761ef
 
c540bf6
 
91203a1
c540bf6
ad761ef
 
c540bf6
 
91203a1
a28ed03
91203a1
 
a28ed03
 
 
 
ad761ef
a28ed03
 
 
 
 
 
 
91203a1
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
language:
- en
tags:
- student performance
- tabular_classification
- multiclass_classification
- UCI
pretty_name: Diamond
size_categories:
- 10K<n<100K
task_categories:
- tabular-classification
configs:
- encoding
- cut
- cut_binary
license: cc
---
# Diamonds
The [Diamonds dataset](https://www.kaggle.com/datasets/ulrikthygepedersen/diamonds) from Kaggle.
Dataset collecting properties of cut diamonds to determine the cut quality.

# Configurations and tasks
| **Configuration** | **Task**                  | Description                                                     |
|-------------------|---------------------------|-----------------------------------------------------------------|
| encoding          |                           | Encoding dictionary showing original values of encoded features.|
| cut               | Multiclass classification | Predict the cut quality of the diamond.                         |
| cut_binary        | Binary classification     | Is the cut quality at least very good?|

# Usage
```python
from datasets import load_dataset

dataset = load_dataset("mstz/diamonds", "cut")["train"]
```

# Features
|**Feature**                        |**Description**|
|-----------------------------------|---------------|
|`carat`                            | `float32`     |
|`color`                            | `string`      |
|`clarity`                          | `float32`     |
|`depth`                            | `float32`     |
|`table`                            | `float32`     |
|`price`                            | `float32`     |
|`observation_point_on_axis_x`      | `float32`     |
|`observation_point_on_axis_y`      | `float32`     |
|`observation_point_on_axis_z`      | `float32`     |
|`cut`                              | `int8`        |