updated to datasets 4.*
Browse files- README.md +11 -10
- data.csv → abnormal/train.csv +21 -21
- vertebral_column.py +0 -78
README.md
CHANGED
|
@@ -1,19 +1,20 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
-
- vertebral_column
|
| 6 |
- tabular_classification
|
| 7 |
- binary_classification
|
| 8 |
-
-
|
| 9 |
-
pretty_name: Vertebral Column
|
| 10 |
-
size_categories:
|
| 11 |
-
- n<1K
|
| 12 |
task_categories:
|
| 13 |
- tabular-classification
|
| 14 |
-
configs:
|
| 15 |
-
- vertebral
|
| 16 |
-
license: cc
|
| 17 |
---
|
| 18 |
# Vertebral Column
|
| 19 |
The [Vertebral Column dataset](https://archive.ics.uci.edu/ml/datasets/vertebral+column) from the [UCI ML repository](https://archive.ics.uci.edu/ml/datasets).
|
|
|
|
| 1 |
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: abnormal
|
| 4 |
+
data_files:
|
| 5 |
+
- path: abnormal/train.csv
|
| 6 |
+
split: train
|
| 7 |
+
default: true
|
| 8 |
+
language: en
|
| 9 |
+
license: cc
|
| 10 |
+
pretty_name: Vertebral column
|
| 11 |
+
size_categories: 1M<n<10M
|
| 12 |
tags:
|
|
|
|
| 13 |
- tabular_classification
|
| 14 |
- binary_classification
|
| 15 |
+
- multiclass_classification
|
|
|
|
|
|
|
|
|
|
| 16 |
task_categories:
|
| 17 |
- tabular-classification
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
# Vertebral Column
|
| 20 |
The [Vertebral Column dataset](https://archive.ics.uci.edu/ml/datasets/vertebral+column) from the [UCI ML repository](https://archive.ics.uci.edu/ml/datasets).
|
data.csv → abnormal/train.csv
RENAMED
|
@@ -17,15 +17,15 @@ pelvic_incidence,pelvic_tilt,lumbar_lordosis_angle,sacral_slope,pelvic_radius,de
|
|
| 17 |
44.31890674,12.53799164,36.098763,31.78091509,124.1158358,5.415825143,1
|
| 18 |
63.83498162,20.36250706,54.55243367,43.47247456,112.3094915,-0.622526643,1
|
| 19 |
31.27601184,3.14466948,32.56299592,28.13134236,129.0114183,3.623020073,1
|
| 20 |
-
38.69791243,13.44474904,31,25.25316339,123.1592507,1.429185758,1
|
| 21 |
41.72996308,12.25407408,30.12258646,29.475889,116.5857056,-1.244402488,1
|
| 22 |
43.92283983,14.17795853,37.8325467,29.7448813,134.4610156,6.451647637,1
|
| 23 |
54.91944259,21.06233245,42.19999999,33.85711014,125.2127163,2.432561437,1
|
| 24 |
63.07361096,24.41380271,53.99999999,38.65980825,106.4243295,15.77969683,1
|
| 25 |
45.54078988,13.06959759,30.29832059,32.47119229,117.9808303,-4.987129618,1
|
| 26 |
-
36.12568347,22.75875277,29,13.3669307,115.5771163,-3.237562489,1
|
| 27 |
54.12492019,26.65048856,35.32974693,27.47443163,121.447011,1.571204816,1
|
| 28 |
-
26.14792141,10.75945357,14,15.38846783,125.2032956,-10.09310817,1
|
| 29 |
43.58096394,16.5088837,46.99999999,27.07208024,109.271634,8.992815727,1
|
| 30 |
44.5510115,21.93114655,26.78591597,22.61986495,111.0729197,2.652320636,1
|
| 31 |
66.87921138,24.89199889,49.27859673,41.9872125,113.4770183,-2.005891748,1
|
|
@@ -47,17 +47,17 @@ pelvic_incidence,pelvic_tilt,lumbar_lordosis_angle,sacral_slope,pelvic_radius,de
|
|
| 47 |
50.91244034,23.01516931,46.99999999,27.89727103,117.4222591,-2.526701511,1
|
| 48 |
48.332638,22.22778399,36.18199318,26.10485401,117.3846251,6.481709096,1
|
| 49 |
41.35250407,16.57736351,30.70619135,24.77514057,113.2666746,-4.497957556,1
|
| 50 |
-
40.55735663,17.97778407,34,22.57957256,121.0462458,-1.537383074,1
|
| 51 |
41.76773173,17.89940172,20.0308863,23.86833001,118.3633889,2.062962549,1
|
| 52 |
-
55.28585178,20.44011836,34,34.84573342,115.8770174,3.558372358,1
|
| 53 |
74.43359316,41.55733141,27.7,32.87626175,107.9493045,5.000088788,1
|
| 54 |
50.20966979,29.76012218,36.10400731,20.44954761,128.2925148,5.740614083,1
|
| 55 |
-
30.14993632,11.91744524,34,18.23249108,112.6841408,11.46322327,1
|
| 56 |
41.17167989,17.32120599,33.46940277,23.85047391,116.3778894,-9.569249858,1
|
| 57 |
47.65772963,13.27738491,36.67998541,34.38034472,98.24978071,6.273012173,1
|
| 58 |
43.34960621,7.467468964,28.06548279,35.88213725,112.7761866,5.753277458,1
|
| 59 |
-
46.85578065,15.35151393,38,31.50426672,116.2509174,1.662705589,1
|
| 60 |
-
43.20318499,19.66314572,35,23.54003927,124.8461088,-2.919075955,1
|
| 61 |
48.10923638,14.93072472,35.56468278,33.17851166,124.0564518,7.947904861,1
|
| 62 |
74.37767772,32.05310438,78.77201304,42.32457334,143.5606905,56.12590603,1
|
| 63 |
89.68056731,32.70443487,83.13073216,56.97613244,129.9554764,92.02727682,1
|
|
@@ -106,7 +106,7 @@ pelvic_incidence,pelvic_tilt,lumbar_lordosis_angle,sacral_slope,pelvic_radius,de
|
|
| 106 |
77.40933294,29.39654543,63.23230243,48.0127875,118.4507311,93.56373734,1
|
| 107 |
65.00796426,27.60260762,50.94751899,37.40535663,116.5811088,7.015977884,1
|
| 108 |
65.01377322,9.838262375,57.73583722,55.17551084,94.73852542,49.69695462,1
|
| 109 |
-
78.42595126,33.42595126,76.27743927,45,138.5541111,77.15517241,1
|
| 110 |
63.17298709,6.330910974,62.99999999,56.84207612,110.6440206,42.60807567,1
|
| 111 |
68.61300092,15.0822353,63.01469619,53.53076561,123.4311742,39.49798659,1
|
| 112 |
63.90063261,13.7062037,62.12433389,50.19442891,114.1292425,41.42282844,1
|
|
@@ -118,7 +118,7 @@ pelvic_incidence,pelvic_tilt,lumbar_lordosis_angle,sacral_slope,pelvic_radius,de
|
|
| 118 |
70.48410444,12.48948765,62.41714208,57.99461679,114.1900488,56.90244779,1
|
| 119 |
86.04127982,38.75066978,47.87140494,47.29061004,122.0929536,61.98827709,1
|
| 120 |
65.53600255,24.15748726,45.77516991,41.3785153,136.4403015,16.37808564,1
|
| 121 |
-
60.7538935,15.7538935,43.19915768,45,113.0533309,31.69354839,1
|
| 122 |
54.74177518,12.09507205,40.99999999,42.64670314,117.6432188,40.3823266,1
|
| 123 |
83.87994081,23.07742686,87.14151223,60.80251395,124.6460723,80.55560527,1
|
| 124 |
80.07491418,48.06953097,52.40343873,32.00538321,110.7099121,67.72731595,1
|
|
@@ -168,7 +168,7 @@ pelvic_incidence,pelvic_tilt,lumbar_lordosis_angle,sacral_slope,pelvic_radius,de
|
|
| 168 |
56.99140382,6.87408897,57.00900516,50.11731485,109.978045,36.81011057,1
|
| 169 |
72.34359434,16.42078962,59.86901238,55.92280472,70.08257486,12.07264427,1
|
| 170 |
95.38259648,24.82263131,95.15763273,70.55996517,89.3075466,57.66084135,1
|
| 171 |
-
44.25347645,1.101086714,38,43.15238973,98.27410705,23.9106354,1
|
| 172 |
64.80954139,15.17407796,58.83999352,49.63546343,111.679961,21.40719845,1
|
| 173 |
78.40125389,14.04225971,79.69426258,64.35899418,104.7312342,12.39285327,1
|
| 174 |
56.66829282,13.45820343,43.76970978,43.21008939,93.69220863,21.10812135,1
|
|
@@ -217,7 +217,7 @@ pelvic_incidence,pelvic_tilt,lumbar_lordosis_angle,sacral_slope,pelvic_radius,de
|
|
| 217 |
30.74193812,13.35496594,35.90352597,17.38697218,142.4101072,-2.005372903,0
|
| 218 |
50.91310144,6.6769999,30.89652243,44.23610154,118.151531,-1.057985526,0
|
| 219 |
38.12658854,6.557617408,50.44507473,31.56897113,132.114805,6.338199339,0
|
| 220 |
-
51.62467183,15.96934373,35,35.6553281,129.385308,1.00922834,0
|
| 221 |
64.31186727,26.32836901,50.95896417,37.98349826,106.1777511,3.118221289,0
|
| 222 |
44.48927476,21.78643263,31.47415392,22.70284212,113.7784936,-0.284129366,0
|
| 223 |
54.9509702,5.865353416,52.99999999,49.08561678,126.9703283,-0.631602951,0
|
|
@@ -240,22 +240,22 @@ pelvic_incidence,pelvic_tilt,lumbar_lordosis_angle,sacral_slope,pelvic_radius,de
|
|
| 240 |
69.00491277,13.29178975,55.5701429,55.71312302,126.6116215,10.83201105,0
|
| 241 |
56.44702568,19.44449915,43.5778464,37.00252653,139.1896903,-1.859688529,0
|
| 242 |
41.6469159,8.835549101,36.03197484,32.8113668,116.5551679,-6.054537956,0
|
| 243 |
-
51.52935759,13.51784732,35,38.01151027,126.7185156,13.92833085,0
|
| 244 |
39.08726449,5.536602477,26.93203835,33.55066201,131.5844199,-0.75946135,0
|
| 245 |
34.64992241,7.514782784,42.99999999,27.13513962,123.9877408,-4.082937601,0
|
| 246 |
63.02630005,27.33624023,51.60501665,35.69005983,114.5066078,7.439869802,0
|
| 247 |
47.80555887,10.68869819,53.99999999,37.11686068,125.3911378,-0.402523218,0
|
| 248 |
46.63786363,15.85371711,39.99999999,30.78414653,119.3776026,9.06458168,0
|
| 249 |
-
49.82813487,16.73643493,28,33.09169994,121.4355585,1.91330704,0
|
| 250 |
47.31964755,8.573680295,35.56025198,38.74596726,120.5769719,1.630663508,0
|
| 251 |
-
50.75329025,20.23505957,37,30.51823068,122.343516,2.288487746,0
|
| 252 |
36.15782981,-0.810514093,33.62731353,36.96834391,135.9369096,-2.092506504,0
|
| 253 |
40.74699612,1.835524271,49.99999999,38.91147185,139.2471502,0.668556793,0
|
| 254 |
42.91804052,-5.845994341,57.99999999,48.76403486,121.6068586,-3.362044654,0
|
| 255 |
63.79242525,21.34532339,65.99999999,42.44710185,119.5503909,12.38260373,0
|
| 256 |
72.95564397,19.57697146,61.00707117,53.37867251,111.2340468,0.813491154,0
|
| 257 |
67.53818154,14.65504222,58.00142908,52.88313932,123.6322597,25.9702063,0
|
| 258 |
-
54.75251965,9.752519649,47.99999999,45,123.0379985,8.235294118,0
|
| 259 |
50.16007802,-2.970024337,41.99999999,53.13010235,131.8024914,-8.290203373,0
|
| 260 |
40.34929637,10.19474845,37.96774659,30.15454792,128.0099272,0.458901373,0
|
| 261 |
63.61919213,16.93450781,49.34926218,46.68468432,117.0897469,-0.357811974,0
|
|
@@ -268,10 +268,10 @@ pelvic_incidence,pelvic_tilt,lumbar_lordosis_angle,sacral_slope,pelvic_radius,de
|
|
| 268 |
46.37408781,10.21590237,42.69999999,36.15818544,121.2476572,-0.54202201,0
|
| 269 |
52.86221391,9.410371613,46.98805181,43.4518423,123.0912395,1.856659161,0
|
| 270 |
57.1458515,16.48909145,42.84214764,40.65676005,113.8061775,5.0151857,0
|
| 271 |
-
37.14014978,16.48123972,24,20.65891006,125.0143609,7.366425398,0
|
| 272 |
51.31177106,8.875541276,56.99999999,42.43622979,126.4722584,-2.144043911,0
|
| 273 |
42.51561014,16.54121618,41.99999999,25.97439396,120.631941,7.876730692,0
|
| 274 |
-
39.35870531,7.011261806,37,32.3474435,117.8187599,1.904048199,0
|
| 275 |
35.8775708,1.112373561,43.45725694,34.76519724,126.9239062,-1.632238263,0
|
| 276 |
43.1919153,9.976663803,28.93814927,33.21525149,123.4674001,1.741017579,0
|
| 277 |
67.28971201,16.7175142,50.99999999,50.5721978,137.5917777,4.960343813,0
|
|
@@ -293,18 +293,18 @@ pelvic_incidence,pelvic_tilt,lumbar_lordosis_angle,sacral_slope,pelvic_radius,de
|
|
| 293 |
51.07983294,14.20993529,35.95122893,36.86989765,115.8037111,6.905089963,0
|
| 294 |
34.75673809,2.631739646,29.50438112,32.12499844,127.1398495,-0.460894198,0
|
| 295 |
48.90290434,5.587588658,55.49999999,43.31531568,137.1082886,19.85475919,0
|
| 296 |
-
46.23639915,10.0627701,37,36.17362905,128.0636203,-5.100053328,0
|
| 297 |
46.42636614,6.620795049,48.09999999,39.80557109,130.3500956,2.449382401,0
|
| 298 |
39.65690201,16.20883944,36.67485694,23.44806258,131.922009,-4.968979881,0
|
| 299 |
45.57548229,18.75913544,33.77414297,26.81634684,116.7970069,3.131909921,0
|
| 300 |
66.50717865,20.89767207,31.72747138,45.60950658,128.9029049,1.517203356,0
|
| 301 |
82.90535054,29.89411893,58.25054221,53.01123161,110.7089577,6.079337831,0
|
| 302 |
-
50.67667667,6.461501271,35,44.2151754,116.5879699,-0.214710615,0
|
| 303 |
89.01487529,26.07598143,69.02125897,62.93889386,111.4810746,6.061508401,0
|
| 304 |
54.60031622,21.48897426,29.36021618,33.11134196,118.3433212,-1.471067262,0
|
| 305 |
34.38229939,2.062682882,32.39081996,32.31961651,128.3001991,-3.365515555,0
|
| 306 |
45.07545026,12.30695118,44.58317718,32.76849908,147.8946372,-8.941709421,0
|
| 307 |
-
47.90356517,13.61668819,36,34.28687698,117.4490622,-4.245395422,0
|
| 308 |
53.93674778,20.72149628,29.22053381,33.21525149,114.365845,-0.421010392,0
|
| 309 |
61.44659663,22.6949683,46.17034732,38.75162833,125.6707246,-2.707879517,0
|
| 310 |
45.25279209,8.693157364,41.5831264,36.55963472,118.5458418,0.214750167,0
|
|
|
|
| 17 |
44.31890674,12.53799164,36.098763,31.78091509,124.1158358,5.415825143,1
|
| 18 |
63.83498162,20.36250706,54.55243367,43.47247456,112.3094915,-0.622526643,1
|
| 19 |
31.27601184,3.14466948,32.56299592,28.13134236,129.0114183,3.623020073,1
|
| 20 |
+
38.69791243,13.44474904,31.0,25.25316339,123.1592507,1.429185758,1
|
| 21 |
41.72996308,12.25407408,30.12258646,29.475889,116.5857056,-1.244402488,1
|
| 22 |
43.92283983,14.17795853,37.8325467,29.7448813,134.4610156,6.451647637,1
|
| 23 |
54.91944259,21.06233245,42.19999999,33.85711014,125.2127163,2.432561437,1
|
| 24 |
63.07361096,24.41380271,53.99999999,38.65980825,106.4243295,15.77969683,1
|
| 25 |
45.54078988,13.06959759,30.29832059,32.47119229,117.9808303,-4.987129618,1
|
| 26 |
+
36.12568347,22.75875277,29.0,13.3669307,115.5771163,-3.237562489,1
|
| 27 |
54.12492019,26.65048856,35.32974693,27.47443163,121.447011,1.571204816,1
|
| 28 |
+
26.14792141,10.75945357,14.0,15.38846783,125.2032956,-10.09310817,1
|
| 29 |
43.58096394,16.5088837,46.99999999,27.07208024,109.271634,8.992815727,1
|
| 30 |
44.5510115,21.93114655,26.78591597,22.61986495,111.0729197,2.652320636,1
|
| 31 |
66.87921138,24.89199889,49.27859673,41.9872125,113.4770183,-2.005891748,1
|
|
|
|
| 47 |
50.91244034,23.01516931,46.99999999,27.89727103,117.4222591,-2.526701511,1
|
| 48 |
48.332638,22.22778399,36.18199318,26.10485401,117.3846251,6.481709096,1
|
| 49 |
41.35250407,16.57736351,30.70619135,24.77514057,113.2666746,-4.497957556,1
|
| 50 |
+
40.55735663,17.97778407,34.0,22.57957256,121.0462458,-1.537383074,1
|
| 51 |
41.76773173,17.89940172,20.0308863,23.86833001,118.3633889,2.062962549,1
|
| 52 |
+
55.28585178,20.44011836,34.0,34.84573342,115.8770174,3.558372358,1
|
| 53 |
74.43359316,41.55733141,27.7,32.87626175,107.9493045,5.000088788,1
|
| 54 |
50.20966979,29.76012218,36.10400731,20.44954761,128.2925148,5.740614083,1
|
| 55 |
+
30.14993632,11.91744524,34.0,18.23249108,112.6841408,11.46322327,1
|
| 56 |
41.17167989,17.32120599,33.46940277,23.85047391,116.3778894,-9.569249858,1
|
| 57 |
47.65772963,13.27738491,36.67998541,34.38034472,98.24978071,6.273012173,1
|
| 58 |
43.34960621,7.467468964,28.06548279,35.88213725,112.7761866,5.753277458,1
|
| 59 |
+
46.85578065,15.35151393,38.0,31.50426672,116.2509174,1.662705589,1
|
| 60 |
+
43.20318499,19.66314572,35.0,23.54003927,124.8461088,-2.919075955,1
|
| 61 |
48.10923638,14.93072472,35.56468278,33.17851166,124.0564518,7.947904861,1
|
| 62 |
74.37767772,32.05310438,78.77201304,42.32457334,143.5606905,56.12590603,1
|
| 63 |
89.68056731,32.70443487,83.13073216,56.97613244,129.9554764,92.02727682,1
|
|
|
|
| 106 |
77.40933294,29.39654543,63.23230243,48.0127875,118.4507311,93.56373734,1
|
| 107 |
65.00796426,27.60260762,50.94751899,37.40535663,116.5811088,7.015977884,1
|
| 108 |
65.01377322,9.838262375,57.73583722,55.17551084,94.73852542,49.69695462,1
|
| 109 |
+
78.42595126,33.42595126,76.27743927,45.0,138.5541111,77.15517241,1
|
| 110 |
63.17298709,6.330910974,62.99999999,56.84207612,110.6440206,42.60807567,1
|
| 111 |
68.61300092,15.0822353,63.01469619,53.53076561,123.4311742,39.49798659,1
|
| 112 |
63.90063261,13.7062037,62.12433389,50.19442891,114.1292425,41.42282844,1
|
|
|
|
| 118 |
70.48410444,12.48948765,62.41714208,57.99461679,114.1900488,56.90244779,1
|
| 119 |
86.04127982,38.75066978,47.87140494,47.29061004,122.0929536,61.98827709,1
|
| 120 |
65.53600255,24.15748726,45.77516991,41.3785153,136.4403015,16.37808564,1
|
| 121 |
+
60.7538935,15.7538935,43.19915768,45.0,113.0533309,31.69354839,1
|
| 122 |
54.74177518,12.09507205,40.99999999,42.64670314,117.6432188,40.3823266,1
|
| 123 |
83.87994081,23.07742686,87.14151223,60.80251395,124.6460723,80.55560527,1
|
| 124 |
80.07491418,48.06953097,52.40343873,32.00538321,110.7099121,67.72731595,1
|
|
|
|
| 168 |
56.99140382,6.87408897,57.00900516,50.11731485,109.978045,36.81011057,1
|
| 169 |
72.34359434,16.42078962,59.86901238,55.92280472,70.08257486,12.07264427,1
|
| 170 |
95.38259648,24.82263131,95.15763273,70.55996517,89.3075466,57.66084135,1
|
| 171 |
+
44.25347645,1.101086714,38.0,43.15238973,98.27410705,23.9106354,1
|
| 172 |
64.80954139,15.17407796,58.83999352,49.63546343,111.679961,21.40719845,1
|
| 173 |
78.40125389,14.04225971,79.69426258,64.35899418,104.7312342,12.39285327,1
|
| 174 |
56.66829282,13.45820343,43.76970978,43.21008939,93.69220863,21.10812135,1
|
|
|
|
| 217 |
30.74193812,13.35496594,35.90352597,17.38697218,142.4101072,-2.005372903,0
|
| 218 |
50.91310144,6.6769999,30.89652243,44.23610154,118.151531,-1.057985526,0
|
| 219 |
38.12658854,6.557617408,50.44507473,31.56897113,132.114805,6.338199339,0
|
| 220 |
+
51.62467183,15.96934373,35.0,35.6553281,129.385308,1.00922834,0
|
| 221 |
64.31186727,26.32836901,50.95896417,37.98349826,106.1777511,3.118221289,0
|
| 222 |
44.48927476,21.78643263,31.47415392,22.70284212,113.7784936,-0.284129366,0
|
| 223 |
54.9509702,5.865353416,52.99999999,49.08561678,126.9703283,-0.631602951,0
|
|
|
|
| 240 |
69.00491277,13.29178975,55.5701429,55.71312302,126.6116215,10.83201105,0
|
| 241 |
56.44702568,19.44449915,43.5778464,37.00252653,139.1896903,-1.859688529,0
|
| 242 |
41.6469159,8.835549101,36.03197484,32.8113668,116.5551679,-6.054537956,0
|
| 243 |
+
51.52935759,13.51784732,35.0,38.01151027,126.7185156,13.92833085,0
|
| 244 |
39.08726449,5.536602477,26.93203835,33.55066201,131.5844199,-0.75946135,0
|
| 245 |
34.64992241,7.514782784,42.99999999,27.13513962,123.9877408,-4.082937601,0
|
| 246 |
63.02630005,27.33624023,51.60501665,35.69005983,114.5066078,7.439869802,0
|
| 247 |
47.80555887,10.68869819,53.99999999,37.11686068,125.3911378,-0.402523218,0
|
| 248 |
46.63786363,15.85371711,39.99999999,30.78414653,119.3776026,9.06458168,0
|
| 249 |
+
49.82813487,16.73643493,28.0,33.09169994,121.4355585,1.91330704,0
|
| 250 |
47.31964755,8.573680295,35.56025198,38.74596726,120.5769719,1.630663508,0
|
| 251 |
+
50.75329025,20.23505957,37.0,30.51823068,122.343516,2.288487746,0
|
| 252 |
36.15782981,-0.810514093,33.62731353,36.96834391,135.9369096,-2.092506504,0
|
| 253 |
40.74699612,1.835524271,49.99999999,38.91147185,139.2471502,0.668556793,0
|
| 254 |
42.91804052,-5.845994341,57.99999999,48.76403486,121.6068586,-3.362044654,0
|
| 255 |
63.79242525,21.34532339,65.99999999,42.44710185,119.5503909,12.38260373,0
|
| 256 |
72.95564397,19.57697146,61.00707117,53.37867251,111.2340468,0.813491154,0
|
| 257 |
67.53818154,14.65504222,58.00142908,52.88313932,123.6322597,25.9702063,0
|
| 258 |
+
54.75251965,9.752519649,47.99999999,45.0,123.0379985,8.235294118,0
|
| 259 |
50.16007802,-2.970024337,41.99999999,53.13010235,131.8024914,-8.290203373,0
|
| 260 |
40.34929637,10.19474845,37.96774659,30.15454792,128.0099272,0.458901373,0
|
| 261 |
63.61919213,16.93450781,49.34926218,46.68468432,117.0897469,-0.357811974,0
|
|
|
|
| 268 |
46.37408781,10.21590237,42.69999999,36.15818544,121.2476572,-0.54202201,0
|
| 269 |
52.86221391,9.410371613,46.98805181,43.4518423,123.0912395,1.856659161,0
|
| 270 |
57.1458515,16.48909145,42.84214764,40.65676005,113.8061775,5.0151857,0
|
| 271 |
+
37.14014978,16.48123972,24.0,20.65891006,125.0143609,7.366425398,0
|
| 272 |
51.31177106,8.875541276,56.99999999,42.43622979,126.4722584,-2.144043911,0
|
| 273 |
42.51561014,16.54121618,41.99999999,25.97439396,120.631941,7.876730692,0
|
| 274 |
+
39.35870531,7.011261806,37.0,32.3474435,117.8187599,1.904048199,0
|
| 275 |
35.8775708,1.112373561,43.45725694,34.76519724,126.9239062,-1.632238263,0
|
| 276 |
43.1919153,9.976663803,28.93814927,33.21525149,123.4674001,1.741017579,0
|
| 277 |
67.28971201,16.7175142,50.99999999,50.5721978,137.5917777,4.960343813,0
|
|
|
|
| 293 |
51.07983294,14.20993529,35.95122893,36.86989765,115.8037111,6.905089963,0
|
| 294 |
34.75673809,2.631739646,29.50438112,32.12499844,127.1398495,-0.460894198,0
|
| 295 |
48.90290434,5.587588658,55.49999999,43.31531568,137.1082886,19.85475919,0
|
| 296 |
+
46.23639915,10.0627701,37.0,36.17362905,128.0636203,-5.100053328,0
|
| 297 |
46.42636614,6.620795049,48.09999999,39.80557109,130.3500956,2.449382401,0
|
| 298 |
39.65690201,16.20883944,36.67485694,23.44806258,131.922009,-4.968979881,0
|
| 299 |
45.57548229,18.75913544,33.77414297,26.81634684,116.7970069,3.131909921,0
|
| 300 |
66.50717865,20.89767207,31.72747138,45.60950658,128.9029049,1.517203356,0
|
| 301 |
82.90535054,29.89411893,58.25054221,53.01123161,110.7089577,6.079337831,0
|
| 302 |
+
50.67667667,6.461501271,35.0,44.2151754,116.5879699,-0.214710615,0
|
| 303 |
89.01487529,26.07598143,69.02125897,62.93889386,111.4810746,6.061508401,0
|
| 304 |
54.60031622,21.48897426,29.36021618,33.11134196,118.3433212,-1.471067262,0
|
| 305 |
34.38229939,2.062682882,32.39081996,32.31961651,128.3001991,-3.365515555,0
|
| 306 |
45.07545026,12.30695118,44.58317718,32.76849908,147.8946372,-8.941709421,0
|
| 307 |
+
47.90356517,13.61668819,36.0,34.28687698,117.4490622,-4.245395422,0
|
| 308 |
53.93674778,20.72149628,29.22053381,33.21525149,114.365845,-0.421010392,0
|
| 309 |
61.44659663,22.6949683,46.17034732,38.75162833,125.6707246,-2.707879517,0
|
| 310 |
45.25279209,8.693157364,41.5831264,36.55963472,118.5458418,0.214750167,0
|
vertebral_column.py
DELETED
|
@@ -1,78 +0,0 @@
|
|
| 1 |
-
"""VertebralColumn"""
|
| 2 |
-
|
| 3 |
-
from typing import List
|
| 4 |
-
|
| 5 |
-
import datasets
|
| 6 |
-
|
| 7 |
-
import pandas
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
VERSION = datasets.Version("1.0.0")
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
DESCRIPTION = "VertebralColumn dataset from the UCI ML repository."
|
| 14 |
-
_HOMEPAGE = "https://archive.ics.uci.edu/ml/datasets/VertebralColumn"
|
| 15 |
-
_URLS = ("https://archive.ics.uci.edu/ml/datasets/VertebralColumn")
|
| 16 |
-
_CITATION = """
|
| 17 |
-
@misc{misc_vertebral_column_212,
|
| 18 |
-
author = {Barreto,Guilherme & Neto,Ajalmar},
|
| 19 |
-
title = {{Vertebral Column}},
|
| 20 |
-
year = {2011},
|
| 21 |
-
howpublished = {UCI Machine Learning Repository},
|
| 22 |
-
note = {{DOI}: \\url{10.24432/C5K89B}}
|
| 23 |
-
}"""
|
| 24 |
-
|
| 25 |
-
# Dataset info
|
| 26 |
-
urls_per_split = {
|
| 27 |
-
"train": "https://huggingface.co/datasets/mstz/vertebral_column/raw/main/data.csv"
|
| 28 |
-
}
|
| 29 |
-
features_types_per_config = {
|
| 30 |
-
"abnormal": {
|
| 31 |
-
"pelvic_incidence": datasets.Value("float64"),
|
| 32 |
-
"pelvic_tilt": datasets.Value("float64"),
|
| 33 |
-
"lumbar_lordosis_angle": datasets.Value("float64"),
|
| 34 |
-
"sacral_slope": datasets.Value("float64"),
|
| 35 |
-
"pelvic_radius": datasets.Value("float64"),
|
| 36 |
-
"degree_spondylolisthesis": datasets.Value("float64"),
|
| 37 |
-
"is_abnormal": datasets.ClassLabel(num_classes=2, names=("no", "yes"))
|
| 38 |
-
}
|
| 39 |
-
|
| 40 |
-
}
|
| 41 |
-
features_per_config = {k: datasets.Features(features_types_per_config[k]) for k in features_types_per_config}
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
class VertebralColumnConfig(datasets.BuilderConfig):
|
| 45 |
-
def __init__(self, **kwargs):
|
| 46 |
-
super(VertebralColumnConfig, self).__init__(version=VERSION, **kwargs)
|
| 47 |
-
self.features = features_per_config[kwargs["name"]]
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
class VertebralColumn(datasets.GeneratorBasedBuilder):
|
| 51 |
-
# dataset versions
|
| 52 |
-
DEFAULT_CONFIG = "abnormal"
|
| 53 |
-
BUILDER_CONFIGS = [
|
| 54 |
-
VertebralColumnConfig(name="abnormal",
|
| 55 |
-
description="VertebralColumn for binary classification.")
|
| 56 |
-
]
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
def _info(self):
|
| 60 |
-
info = datasets.DatasetInfo(description=DESCRIPTION, citation=_CITATION, homepage=_HOMEPAGE,
|
| 61 |
-
features=features_per_config[self.config.name])
|
| 62 |
-
|
| 63 |
-
return info
|
| 64 |
-
|
| 65 |
-
def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
|
| 66 |
-
downloads = dl_manager.download_and_extract(urls_per_split)
|
| 67 |
-
|
| 68 |
-
return [
|
| 69 |
-
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloads["train"]})
|
| 70 |
-
]
|
| 71 |
-
|
| 72 |
-
def _generate_examples(self, filepath: str):
|
| 73 |
-
data = pandas.read_csv(filepath)
|
| 74 |
-
|
| 75 |
-
for row_id, row in data.iterrows():
|
| 76 |
-
data_row = dict(row)
|
| 77 |
-
|
| 78 |
-
yield row_id, data_row
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|