Datasets:
Upload glass.py
Browse files
glass.py
CHANGED
@@ -48,7 +48,7 @@ features_types_per_config = {
|
|
48 |
"calcium": datasets.Value("float64"),
|
49 |
"barium": datasets.Value("int8"),
|
50 |
"iron": datasets.Value("float64"),
|
51 |
-
"glass_type": datasets.ClassLabel(num_classes=
|
52 |
"vehicle_windows_1", "vehicle_windows_2",
|
53 |
"containers", "tableware", "headlamps"))
|
54 |
},
|
|
|
48 |
"calcium": datasets.Value("float64"),
|
49 |
"barium": datasets.Value("int8"),
|
50 |
"iron": datasets.Value("float64"),
|
51 |
+
"glass_type": datasets.ClassLabel(num_classes=7, names=("windows_1", "windows_2",
|
52 |
"vehicle_windows_1", "vehicle_windows_2",
|
53 |
"containers", "tableware", "headlamps"))
|
54 |
},
|