The viewer is disabled because this dataset repo requires arbitrary Python code execution. Please consider removing the loading script and relying on automated data support (you can use convert_to_parquet from the datasets library). If this is not possible, please open a discussion for direct help.

YAML Metadata Error: "configs[0]" must be of type object
YAML Metadata Error: "configs[1]" must be of type object
YAML Metadata Error: "configs[2]" must be of type object

Diamonds

The Diamonds dataset 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

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
Downloads last month
42