Datasets:
Update mammography.py
Browse files- mammography.py +15 -15
mammography.py
CHANGED
@@ -26,25 +26,25 @@ _BASE_FEATURE_NAMES = [
|
|
26 |
]
|
27 |
_ENCODING_DICS = {
|
28 |
"shape": {
|
29 |
-
1: "round",
|
30 |
-
2: "oval",
|
31 |
-
3: "lobular",
|
32 |
-
4: "irregular",
|
33 |
},
|
34 |
"margin": {
|
35 |
-
1: "circumbscribed",
|
36 |
-
2: "microlobulated",
|
37 |
-
3: "obscured",
|
38 |
-
4: "ill-defined",
|
39 |
-
5: "spiculated",
|
40 |
},
|
41 |
"density": {
|
42 |
-
1: "high",
|
43 |
-
2: "iso",
|
44 |
-
3: "low",
|
45 |
-
4: "fat-containing",
|
46 |
-
5: "spiculated",
|
47 |
-
}
|
48 |
}
|
49 |
|
50 |
DESCRIPTION = "Mammography dataset from the UCI ML repository."
|
|
|
26 |
]
|
27 |
_ENCODING_DICS = {
|
28 |
"shape": {
|
29 |
+
"1": "round",
|
30 |
+
"2": "oval",
|
31 |
+
"3": "lobular",
|
32 |
+
"4": "irregular",
|
33 |
},
|
34 |
"margin": {
|
35 |
+
"1": "circumbscribed",
|
36 |
+
"2": "microlobulated",
|
37 |
+
"3": "obscured",
|
38 |
+
"4": "ill-defined",
|
39 |
+
"5": "spiculated",
|
40 |
},
|
41 |
"density": {
|
42 |
+
"1": "high",
|
43 |
+
"2": "iso",
|
44 |
+
"3": "low",
|
45 |
+
"4": "fat-containing",
|
46 |
+
"5": "spiculated",
|
47 |
+
}
|
48 |
}
|
49 |
|
50 |
DESCRIPTION = "Mammography dataset from the UCI ML repository."
|