Dataset Viewer
Auto-converted to Parquet Duplicate
filename
stringlengths
10
12
image
imagewidth (px)
1.02k
2.66k
label
stringclasses
3 values
patient_id
int64
1
154
patient_code
stringlengths
2
5
xray_code
stringclasses
2 values
s.no
float64
1
239
joint_pain
stringclasses
2 values
gender
stringclasses
2 values
age
float64
17
107
menopause_age
float64
28
57
βŒ€
height__(meter)
float64
1.37
1.83
weight_(kg)
float64
39
98
smoker
stringclasses
2 values
alcoholic
stringclasses
1 value
diabetic
stringclasses
2 values
hypothyroidism
stringclasses
2 values
number_of_pregnancies
float64
1
7
βŒ€
seizer_disorder
stringclasses
2 values
estrogen_use
stringclasses
2 values
occupation
stringclasses
29 values
history_of_fracture
stringclasses
47 values
dialysis
stringclasses
2 values
family_history_of_osteoporosis
stringclasses
2 values
maximum_walking_distance_(km)
float64
0.1
10
βŒ€
daily_eating_habits
stringclasses
26 values
medical_history
stringlengths
2
39
t-score_value
float64
-2.99
-0.16
z-score_value
float64
-2.99
0.73
bmi
float64
16.1
42.8
obesity
stringclasses
5 values
N10_TK.JPEG
N
10
N10
TK
57
yes
female
30
null
1.55448
73
no
no
no
no
null
no
no
h.wife
no
no
no
2
normal
no
-0.58
-0.51
30.210129
obesity
N11_TK.JPEG
N
11
N11
TK
58
yes
female
35
null
1.524
68
no
no
no
yes
1
no
no
h.wife
no
no
no
2
normal
no
-0.81
-0.67
29.277836
over weight
N12_TK.JPEG
N
12
N12
TK
60
yes
male
25
null
1.73736
64
no
no
no
no
null
no
no
student
no
no
no
3
normal
hernia
-0.31
-0.36
21.203148
normal weight
N13_TK.jpg
N
13
N13
TK
64
yes
male
39
null
1.73736
65
no
no
no
no
null
no
no
businesman
no
no
no
2
normal
no
-0.48
-0.41
21.534447
normal weight
N14_TK.jpg
N
14
N14
TK
69
yes
female
30
null
1.58496
63
no
no
no
yes
1
no
no
h.wife
no
no
no
2
no protiens
arthrities
-0.6
-0.62
25.078637
over weight
N15_TK.jpg
N
15
N15
TK
81
yes
male
34
null
1.76784
73
no
no
no
no
null
no
no
mobile technician
no
no
yes
3
normal
no
-0.58
-0.51
23.35807
normal weight
N16_TK.jpg
N
16
N16
TK
99
yes
female
30
null
1.58496
68
no
no
no
no
null
no
no
Teacher
ankle fracture
no
yes
1
normal
disk, PCOD
-0.58
-0.51
27.069005
over weight
N17_TK.jpg
N
17
N17
TK
113
yes
male
38
null
1.70688
74
yes
no
no
no
null
no
no
businessman
no
no
no
3
normal
no
-0.78
-0.43
25.399534
over weight
N18_OK.jpg
N
18
N18
OK
116
yes
female
37
null
1.58496
69
no
no
no
no
2
no
no
h.wife
no
no
no
2
normal
no
-0.86
-0.57
27.467079
over weight
N19_TK.jpg
N
19
N19
TK
118
yes
female
30
null
1.524
68
no
no
no
no
2
no
no
h.wife
no
no
no
2
normal
no
-0.68
-0.45
29.277836
over weight
N1_TK.JPEG
N
1
N1
TK
15
yes
male
40
null
1.61544
74
no
no
no
no
null
no
no
businesman
no
no
yes
1
normal
no
-0.61
-0.34
28.356332
over weight
N20_TK.jpg
N
20
N20
TK
119
yes
female
25
null
1.58496
60
no
no
no
no
null
no
no
student
no
no
no
2
normal
no
-0.76
-0.43
23.884417
normal weight
N21_TK.jpg
N
21
N21
TK
132
yes
male
40
null
1.6764
71
no
no
no
no
null
no
no
teacher
no
no
no
3
no calcium diet
fatty liver, cholestrol
-0.69
-0.58
25.264054
over weight
N22_OK.jpg
N
22
N22
OK
136
yes
male
38
null
1.70688
84
no
no
no
no
null
no
no
businessman
no
yes
no
3
null
no
-0.71
-0.58
28.831903
over weight
N23_TK.jpg
N
23
N23
TK
141
yes
male
35
null
1.65
85
no
no
no
no
null
no
no
clerk
no
no
no
1
normal
no
-0.43
-2.87
31.221304
obesity
N24_OK.jpg
N
24
N24
OK
142
yes
female
35
null
1.5
57
no
no
no
no
3
no
no
h.wife
no
no
no
0.3
normal
no
-0.78
-0.76
25.333333
over weight
N25_OK.jpg
N
25
N25
OK
143
yes
male
27
null
1.54
54
yes
no
no
no
null
no
no
clerk
no
no
no
1
normal
no
-0.48
-2.95
22.769438
normal weight
N26_OK.jpg
N
26
N26
OK
144
yes
female
35
null
1.49
73
no
no
no
no
3
no
no
h.wife
no
no
yes
2
normal
no
-0.89
-1.01
32.881402
obesity
N27_OK.jpg
N
27
N27
OK
146
yes
female
37
null
1.41
58
no
no
no
no
null
no
no
null
lab technician
no
yes
4
normal
no
-0.87
-0.69
29.173583
over weight
N28_OK.jpg
N
28
N28
OK
153
yes
male
32
null
1.68
63
yes
no
no
no
null
no
no
barber
no
no
no
2
normal
no
-0.16
-0.53
22.321429
normal weight
N29_OK.jpg
N
29
N29
OK
160
yes
male
40
null
1.72
68
yes
no
no
no
null
no
no
farmer
no
no
no
1
low protiens
no
-0.72
-0.52
22.985398
normal weight
N2_OK.JPEG
N
2
N2
OK
16
yes
female
28
null
1.524
68
no
no
no
no
1
no
no
h.wife
L.foot
no
no
0.5
normal
no
-0.51
-0.37
29.277836
over weight
N30_TK.jpg
N
30
N30
TK
161
yes
male
45
null
1.72
65
no
no
no
no
null
no
no
carpenter
no
no
no
10
no onions
no
-0.86
-1.23
21.971336
normal weight
N31_OK.jpg
N
31
N31
OK
171
yes
female
35
null
1.52
51
no
no
no
no
1
no
no
teacher
no
no
yes
1
normal
no
-0.52
-0.59
22.0741
normal weight
N32_OK.jpg
N
32
N32
OK
172
yes
female
39
null
1.54
69
no
no
no
no
1
no
no
h.wife
R.arm
no
yes
3
normal
no
-0.89
-0.68
29.094282
over weight
N33_OK.jpg
N
33
N33
OK
183
yes
male
30
null
1.59
59
no
no
no
no
null
no
no
plumber
no
no
yes
1
normal
no
-0.52
-2.93
23.337684
normal weight
N34_OK.jpg
N
34
N34
OK
214
yes
female
37
null
1.49
75
no
no
no
no
3
no
no
h.wife
no
no
yes
0.2
normal
disk, stomach cyst, scizerians
-0.76
-0.7
33.782262
obesity
N35_OK.jpg
N
35
N35
OK
230
yes
female
24
null
1.63
71
no
no
no
no
null
no
no
student
no
no
yes
0.2
normal
no
-0.52
-0.56
26.722873
over weight
N36_OK.jpg
N
36
N36
OK
231
yes
female
27
null
1.49
49
no
no
no
yes
null
no
yes
student
hip injury
no
yes
0.3
normal
no
-0.47
-0.42
22.071078
normal weight
N3_TK.JPEG
N
3
N3
TK
18
yes
male
24
null
1.76784
63
no
no
no
no
null
no
no
student
no
no
yes
5
normal
disk
-0.41
-0.41
20.158334
normal weight
N4_TK.JPEG
N
4
N4
TK
26
yes
male
45
null
1.64592
60
yes
no
yes
no
null
no
no
G.E
no
no
no
1
normal
B.P
-0.83
-0.36
22.147964
normal weight
N5_TK.JPEG
N
5
N5
TK
30
yes
male
44
null
1.61544
70
yes
no
no
no
null
no
no
labour
no
no
no
8
normal
no
-0.43
-0.41
26.823557
over weight
N6_TK.JPEG
N
6
N6
TK
32
yes
female
49
48
1.46304
68
no
no
no
no
4
no
no
h.wife
no
no
no
2
normal
Hernia
-0.83
-0.46
31.768486
obesity
N7_TK.JPEG
N
7
N7
TK
37
yes
male
23
null
1.73736
83
no
no
no
no
null
no
no
student
no
no
yes
2
normal
no
-0.42
-0.48
27.497832
over weight
N8_TK.JPEG
N
8
N8
TK
38
yes
female
30
null
1.43256
50
no
no
no
no
3
no
no
h.wife
no
no
no
0.3
normal
no
-0.88
0.59
24.363763
normal weight
N9_TK.JPEG
N
9
N9
TK
49
yes
female
42
37
1.55448
73
no
no
no
yes
3
no
no
h.wife
no
no
no
0.5
low protiens
uterus removed
-0.97
-0.41
30.210129
obesity
OP100_OK.jpg
OP
100
OP100
OK
151
yes
female
55
45
1.58
68
no
no
no
no
5
no
no
h.wife
no
no
no
1
normal
GERD,
-2.32
-2.08
27.239224
over weight
OP101_OK.jpg
OP
101
OP101
OK
152
yes
female
50
48
1.49
68
no
no
no
no
4
no
no
h.wife
no
no
no
1
normal
no
-2.29
-2.48
30.629251
obesity
OP102_OK.jpg
OP
102
OP102
OK
155
yes
male
48
null
1.69
79
yes
no
no
no
null
no
no
shopkeeper
no
no
no
2
normal
no
-1.85
-2.61
27.660096
over weight
OP103_OK.jpg
OP
103
OP103
OK
157
yes
female
48
45
1.49
69
no
no
no
yes
3
no
no
h.wife
R.shoulder
no
no
0.5
normal
Seizer, L.Ankle surgery
-1.78
-1.12
31.079681
obesity
OP104_OK.jpg
OP
104
OP104
OK
163
yes
male
54
null
1.57
65
no
no
no
no
null
no
no
carpenter
no
no
no
1
low fats
no
-2.09
-2.45
26.370238
over weight
OP105_OK.jpg
OP
105
OP105
OK
165
yes
male
58
null
1.57
78
no
no
no
no
null
no
no
G.E
no
no
no
10
low protiens
no
-2.28
-2.32
31.644286
obesity
OP106_OK.jpg
OP
106
OP106
OK
166
yes
male
55
null
1.46
64
yes
no
no
no
null
no
no
farmer
no
no
no
2
normal
R.arthritis, posture change
-2.1
-2.42
30.024395
obesity
OP107_TK.jpg
OP
107
OP107
TK
168
yes
female
50
44
1.47
71
no
no
no
no
6
no
no
teacher
L.elbow
no
yes
0.2
low sugar
uterus rem
-1.98
-1.6
32.85668
obesity
OP108_OK.jpg
OP
108
OP108
OK
169
yes
female
48
null
1.54
70
no
no
no
no
4
no
no
null
no
no
no
2
low fats
fatty liver
-1.87
-1.74
29.515939
over weight
OP109_OK.jpg
OP
109
OP109
OK
170
yes
female
48
45
1.54
67
no
no
no
no
5
no
no
h.wife
R.wrist,shoulder
no
yes
2
normal
uterus rem, breast surg, seizer(2)
-2.13
-1.74
28.25097
over weight
OP10_TK.JPEG
OP
10
OP10
TK
10
yes
female
56
47
1.40208
60
no
no
yes
no
5
no
no
h.wife
no
no
no
4
normal
no
-1.18
-1.57
30.521485
obesity
OP110_OK.jpg
OP
110
OP110
OK
173
yes
female
40
null
1.49
61
no
no
no
no
4
no
no
h.wife
no
no
yes
2
normal
seizerian
-1.43
-0.97
27.47624
over weight
OP111_OK.jpg
OP
111
OP111
OK
174
yes
female
40
null
1.57
79
no
no
no
yes
3
no
no
h.wife
no
no
yes
0.2
low protiens
disk
-1.08
-0.79
32.049982
obesity
OP112_OK.jpg
OP
112
OP112
OK
176
yes
female
49
48
1.52
64
no
no
no
no
5
no
no
h.wife
vertebral fracture
no
yes
0.2
normal
asthma, disk, cholestrol, lung
-1.78
-1.69
27.700831
over weight
OP113_OK.jpg
OP
113
OP113
OK
180
yes
male
55
null
1.6
69
no
no
no
no
null
no
no
shopkeeper
no
no
yes
0.5
normal
no
-1.86
-2.42
26.953125
over weight
OP114_OK.jpg
OP
114
OP114
OK
181
yes
female
50
48
1.51
74
no
no
no
no
3
no
no
h.wife
R.foot
no
no
1
normal
G.B rem, fatty liver
-2.12
-2.38
32.454717
obesity
OP115_OK.jpg
OP
115
OP115
OK
182
yes
female
45
42
1.47
65
no
no
no
no
4
no
no
h.wife
no
no
no
0.3
low protiens
G.B rem, disk, seizer
-1.52
-0.99
30.080059
obesity
OP116_OK.jpg
OP
116
OP116
OK
184
yes
male
55
null
1.47
59
yes
no
no
no
null
no
no
shopkeeper
no
no
no
3
normal
no
-2.37
-2.42
27.303438
over weight
OP117_OK.jpg
OP
117
OP117
OK
188
yes
female
50
48
1.52
63
no
no
no
no
5
no
no
h.wife
left knee
no
no
1
normal
no
-2.09
-1.87
27.268006
over weight
OP118_OK.jpg
OP
118
OP118
OK
189
yes
female
42
null
1.57
74
no
no
no
no
3
no
no
teacher
no
no
no
0.4
normal
G.B rem
-1.88
-1.21
30.021502
obesity
OP119_OK.jpg
OP
119
OP119
OK
190
yes
female
50
35
1.53
61
no
no
no
no
4
no
no
h.wife
no
no
no
0.2
normal
B.P
-2.03
-1.6
26.058354
over weight
OP11_TK.JPEG
OP
11
OP11
TK
11
yes
male
45
null
1.64592
71
no
no
no
no
null
no
no
teacher
no
no
no
1
low protiens
gout
-1.13
-0.58
26.208424
over weight
OP120_OK.jpg
OP
120
OP120
OK
191
yes
female
45
null
1.41
85
no
no
no
no
5
no
no
h.wife
left leg
no
no
0.2
normal
B.P, disk
-1.98
-1.91
42.754389
obesity
OP121_OK.jpg
OP
121
OP121
OK
192
no
female
34
null
1.53
69
no
no
no
no
3
no
no
h.wife
no
no
no
0.3
normal
B.P, scizerian
-1.52
-1.58
29.475843
over weight
OP122_TK.jpg
OP
122
OP122
TK
193
yes
male
73
null
1.65
64
no
no
no
no
null
no
no
R.G.E
no
no
no
0.5
normal
B.P
-1.99
-1.76
23.507805
normal weight
OP123_TK.jpg
OP
123
OP123
TK
194
yes
female
65
48
1.48
75
no
no
no
no
4
no
no
h.wife
no
no
no
0.5
normal
uterus rem, G.B rem
-1.87
-0.2
34.240321
obesity
OP124_OK.jpg
OP
124
OP124
OK
196
yes
female
52
42
1.53
69
no
no
no
no
4
no
no
h.wife
spinal injury
no
no
0.2
normal
osteoporosis, disk, B.P
-1.87
-1.42
29.475843
over weight
OP125_OK.jpg
OP
125
OP125
OK
197
yes
female
37
32
1.57
75
no
no
no
no
6
no
no
h.wife
no
no
no
0.2
low protiens
R.arthritis, low b.p
-1.08
-0.91
30.427198
obesity
OP126_OK.jpg
OP
126
OP126
OK
198
yes
male
50
null
1.64
77
no
no
no
no
null
no
no
farmer
knee fracture
no
no
3
low protiens
b.p
-2.39
-2.12
28.628792
over weight
OP127_OK.jpg
OP
127
OP127
OK
200
yes
male
47
null
1.66
72
no
no
no
no
null
no
no
G.E
left knee
no
yes
1
normal
no
-1.77
-2.74
26.128611
over weight
OP128_OK.jpg
OP
128
OP128
OK
201
yes
female
50
49
1.57
74
no
no
no
no
2
yes
yes
h.wife
no
no
no
0.5
normal
b.p, seizer
-1.78
-1.42
30.021502
obesity
OP129_OK.jpg
OP
129
OP129
OK
203
yes
male
52
null
1.73
88
no
no
no
no
null
no
no
G.E
left leg
no
no
0.5
normal
no
-1.77
-1.04
29.40292
over weight
OP12_TK.JPEG
OP
12
OP12
TK
12
yes
male
60
null
1.524
56
no
no
no
no
null
no
no
farmer
no
no
no
4
normal
no
-1.42
-1.08
24.111159
normal weight
OP130_OK.jpg
OP
130
OP130
OK
204
yes
female
35
null
1.45
78
no
no
no
no
4
yes
yes
h.wife
no
no
no
1
low fats
cholestrol, fatty liver, B.P, scizerian
-1.08
-0.76
37.098692
obesity
OP131_OK.jpg
OP
131
OP131
OK
205
yes
female
45
null
1.47
85
no
no
no
no
3
no
no
h.wife
no
no
no
0.4
low fats & salt
scizerian
-1.99
-1.91
39.335462
obesity
OP132_OK.jpg
OP
132
OP132
OK
206
yes
female
40
null
1.57
67
no
no
no
no
6
no
no
h.wife
no
no
yes
0.3
normal
disk, low b.p, scizerian
-1.05
-1.08
27.18163
over weight
OP133_OK.jpg
OP
133
OP133
OK
207
yes
female
50
48
1.47
78
no
no
no
no
4
no
no
h.wife
no
no
yes
0.2
low fats
disk
-2.32
-0.98
36.096071
obesity
OP134_OK.jpg
OP
134
OP134
OK
209
yes
female
30
null
1.6
75
no
no
no
no
2
no
no
h.wife
no
no
yes
0.3
normal
disk
-2.09
-2.13
29.296875
over weight
OP135_OK.jpg
OP
135
OP135
OK
210
yes
female
55
48
1.45
70
no
no
no
no
3
no
no
h.wife
no
no
no
0.3
normal
no
-2.15
-1.76
33.293698
obesity
OP136_OK.jpg
OP
136
OP136
OK
211
yes
male
51
null
1.49
80
yes
no
no
no
null
no
no
G.E
no
no
no
1
normal
no
-1.4
-0.61
36.034413
obesity
OP137_OK.jpg
OP
137
OP137
OK
212
yes
female
52
48
1.46
79
no
no
no
no
3
no
no
h.wife
no
no
yes
0.1
low fats
cholestrol, B.P
-1.88
-0.87
37.061362
obesity
OP138_OK.jpg
OP
138
OP138
OK
215
yes
female
45
42
1.62
88
no
no
no
no
3
yes
yes
h.wife
no
no
no
6
normal
uterus rem, dense elbow surgery
-2.02
-1.78
33.531474
obesity
OP139_OK.jpg
OP
139
OP139
OK
216
yes
female
45
null
1.53
65
no
no
no
no
3
yes
yes
h.wife
shoulder fracture
no
no
0.2
normal
b.p
-2.01
-1.78
27.767098
over weight
OP13_TK.JPEG
OP
13
OP13
TK
13
yes
female
47
47
1.524
76
no
no
no
no
4
no
no
h.wife
L.knee
no
no
0.2
normal
F.tube surgery
-1.57
-1.04
32.722288
obesity
OP140_OK.jpg
OP
140
OP140
OK
219
yes
female
40
null
1.57
70
no
no
no
no
2
no
no
h.wife
no
no
no
1
normal
scizerian
-1.05
-0.89
28.398718
over weight
OP141_OK.jpg
OP
141
OP141
OK
220
yes
female
55
45
1.51
59
no
no
no
no
null
no
yes
h.wife
no
no
yes
0.3
normal
b.p, stomach
-2.09
-1.52
25.876058
over weight
OP142_OK.jpg
OP
142
OP142
OK
221
yes
female
50
null
1.51
62
no
no
no
yes
2
no
no
h.wife
no
no
no
1
low protiens
R.arthrities
-2.39
-1.6
27.19179
over weight
OP143_OK.jpg
OP
143
OP143
OK
223
yes
male
58
null
1.7
74
no
no
no
yes
null
no
no
teacher
no
no
no
3
normal
disk
-1.32
-1.08
25.605536
over weight
OP144_OK.jpg
OP
144
OP144
OK
224
yes
female
60
48
1.51
62
no
no
no
yes
4
no
no
h.wife
no
no
no
0.5
normal
no
-2.39
-1.21
27.19179
over weight
OP145_TK.jpg
OP
145
OP145
TK
226
yes
male
56
null
1.65
69
yes
no
no
yes
null
no
no
teacher
yes
no
yes
4
normal
b.p
-1.39
-1.09
25.344353
over weight
OP146_OK.jpg
OP
146
OP146
OK
228
yes
male
50
null
1.55
63
no
no
no
no
null
no
no
farmer
R.leg
no
no
4
normal
no
-1.81
-0.79
26.222685
over weight
OP147_OK.jpg
OP
147
OP147
OK
229
yes
male
70
null
1.53
56
no
no
no
yes
null
no
no
bussinesman
no
no
no
0.2
low protiens
stomach
-1.56
-1.89
23.922423
normal weight
OP148_OK.jpg
OP
148
OP148
OK
232
yes
male
62
null
1.69
82
yes
no
no
no
null
no
no
R.G.E
no
no
yes
0.5
normal
no
-2.08
-2.19
28.710479
over weight
OP149_OK.jpg
OP
149
OP149
OK
233
yes
male
56
null
1.59
68
yes
no
no
yes
null
no
no
G.E
L.leg
no
no
3
normal
liver cyst
-2.03
-1.46
26.89767
over weight
OP14_TK.JPEG
OP
14
OP14
TK
14
yes
female
52
40
1.46304
74
no
no
no
no
3
no
no
teacher
yes
no
yes
0.5
normal
no
-1.37
-0.52
34.571587
obesity
OP150_OK.jpg
OP
150
OP150
OK
234
yes
female
47
41
1.48
78
no
no
no
yes
3
no
no
h.wife
L.ankle
no
no
0.2
normal
uterus rem
-2.1
-1.67
35.609934
obesity
OP151_OK.jpg
OP
151
OP151
OK
235
yes
male
54
null
1.69
68
no
no
no
no
null
no
no
G.E
no
no
yes
6
normal
no
-2.02
-2.45
23.80869
normal weight
OP152_OK.jpg
OP
152
OP152
OK
236
yes
female
56
null
1.54
80
no
no
no
yes
5
yes
yes
teacher
no
no
yes
0.2
normal
scizerian, b.p
-1.97
-1.34
33.732501
obesity
OP153_OK.jpg
OP
153
OP153
OK
238
yes
male
49
null
1.67
88
no
no
no
no
null
no
no
teacher
L.elbow,wrist
no
yes
0.5
normal
G.B rem, fatty liver
-1.72
-1.21
31.553659
obesity
OP154_OK.jpg
OP
154
OP154
OK
239
yes
female
56
48
1.52
68
no
no
no
no
6
no
no
h.wife
no
no
yes
0.2
low fats,proteins
G.B& uterus rem, intestine surgery
-2.01
-1.13
29.432133
overweight
OP15_TK.JPEG
OP
15
OP15
TK
17
yes
male
55
null
1.49352
53
yes
no
no
no
null
no
no
labour
no
no
no
6
normal
no
-2.01
-1.34
23.760402
normal weight
OP16_TK.JPEG
OP
16
OP16
TK
19
yes
male
64
null
1.58496
70
yes
no
no
no
null
no
no
businesman
no
no
no
4
normal
B.P
-1.81
-0.83
27.865153
over weight
OP17_TK.JPEG
OP
17
OP17
TK
20
yes
male
65
null
1.55448
61
no
no
no
no
null
no
no
farmer
no
no
yes
3
normal
no
-1.13
-0.91
25.244081
over weight
OP18_TK.JPEG
OP
18
OP18
TK
21
yes
female
58
48
1.49352
74
no
no
no
no
5
no
no
h.wife
no
no
no
0.3
normal
B.P
-1.92
-0.71
33.174901
obesity
End of preview. Expand in Data Studio

🦴 Knee X-ray Osteoporosis Dataset (Processed Derivative of Mendeley fxjm8fb6mw.2)

Original Source Dataset: Knee X-ray Osteoporosis Database
Published: 27 August 2021
Version: 2
DOI: 10.17632/fxjm8fb6mw.2
Contributors: Insha Majeed Wani, Sakshi Arora

This Hugging Face dataset is a processed and reformatted derivative of the publicly released Knee X-ray Osteoporosis Database on Mendeley Data. It combines knee X-ray images with tabular clinical, demographic, lifestyle, and bone health features for each participant, making it convenient for multi-modal machine learning research (image + structured data).


βœ… What’s in This Hugging Face Version?

Component Included Notes
Knee X-ray images βœ… Mapped from filenames (N, OP, OS) to diagnosis classes.
Diagnosis Classes βœ… N=Normal, OP=Osteopenia, OS=Osteoporosis.
Patient Metadata βœ… Merged from the provided Excel sheet in the source dataset.
X-ray View Info βœ… Extracted from filename: OK=One Knee, TK=Both Knee.
Patient Code Join βœ… Filenames like OP1_TK.jpg matched to Excel Patient Id (e.g., OP1).
Image Preview in Hub βœ… image column cast to datasets.Image() so images display in the UI.

🧬 Dataset Summary (Original Description Adapted)

Osteoporosis is a major bone disorder (after arthritis) affecting millions globally. DXA (Dual Energy X-ray Absorptiometry) is the diagnostic gold standard but is expensive and not always accessibleβ€”particularly in resource-constrained regions. This database was created to support research into cost-effective, early, and scalable osteoporosis screening tools, including those that use knee X-rays as an imaging proxy along with clinical risk factors.

The clinical spreadsheet accompanying the X-rays includes:

  • Demographics: age, gender, menopause age
  • Anthropometrics: height, weight, BMI
  • Medical factors: diabetes, hypothyroidism, seizure disorder, fracture history
  • Lifestyle: smoking, alcohol, walking distance, eating habits
  • Reproductive history: number of pregnancies, estrogen use
  • Bone health measurements: T-score, Z-score (Quantitative Ultrasound System)
  • Final diagnosis category (Normal / Osteopenia / Osteoporosis)

By combining these with knee imaging, the dataset supports data-centric research toward early, low-cost osteoporosis detection and risk stratification.


πŸ”– Labels & Filename Convention

Image filenames follow this pattern:

Label Codes:

  • N β†’ Normal
  • OP β†’ Osteopenia
  • OS β†’ Osteoporosis

X-ray View Codes:

  • OK β†’ One Knee (single knee view)
  • TK β†’ Two Knee (bilateral view)

Examples:

Filename Class Patient ID View
N19_TK.jpg Normal 19 Two Knee
OP5_OK.png Osteopenia 5 One Knee
OS12_TK.jpg Osteoporosis 12 Both Knee

πŸ“ Data Fields

Below are the fields in this processed dataset (names reflect normalized columns):

Core Image & Join Fields

  • filename (string) – Image filename.
  • image (image) – Knee X-ray (rendered inline on Hub).
  • label (string) – Raw label code (N, OP, OS).
  • patient_id (int64) – Numeric ID parsed from filename suffix.
  • patient_code (string) – Full prefix from filename (e.g., OP5), used for Excel join.
  • xray_code (string) – OK or TK.

Clinical Features (from Excel)

Below is a mapping of fields included from the source spreadsheet; names are lowercased / normalized and punctuation simplified.

Column Type Description
s.no float64 Serial number in sheet.
joint_pain: string Reported joint pain.
gender string Gender.
age float64 Age (yrs).
menopause_age float64 Menopause age (yrs).
height__(meter) float64 Height (m).
weight_(kg) float64 Weight (kg).
smoker string Smoking status.
alcoholic string Alcohol use.
diabetic string Diabetes status.
hypothyroidism string Thyroid disorder.
number_of_pregnancies float64 Gravidity.
seizer_disorder string Seizure disorder (as in spreadsheet).
estrogen_use string Estrogen usage.
occupation string Occupation category.
history_of_fracture string Prior fracture history.
dialysis: string Dialysis status.
family_history_of_osteoporosis string Family history.
maximum_walking_distance_(km) float64 Mobility proxy.
daily_eating_habits string Nutrition pattern.
medical_history string Additional medical notes.
t-score_value float64 Bone density T-score (QUS).
z-score_value float64 Bone density Z-score (QUS).
bmi: float64 Body Mass Index.
site string Measurement site.
obesity string Obesity category.
diagnosis string Ground-truth category (Normal / Osteopenia / Osteoporosis).

πŸ”¬ Recommended Use Cases

  • Multimodal Classification: Train models that combine image + tabular features to predict diagnosis.
  • Pre-screening Models: Develop cost-effective osteoporosis risk stratifiers when DXA is unavailable.
  • Domain Adaptation: Compare performance across imaging vs. clinical-only vs. fusion models.
  • Explainability Studies: Use tabular variables to interpret model predictions.

πŸš€ Quickstart

from datasets import load_dataset
from PIL import Image

# Replace with your actual dataset repo ID
ds = load_dataset("your-username/knee-xray-dataset")

# Inspect first record
example = ds["train"][0]
print(example.keys())

# Load image
img = example["image"]  # This is a PIL.Image.Image
img.show()

# Diagnosis
print("Diagnosis:", example["diagnosis"])
print("Label code:", example["label"], "X-ray view:", example["xray_code"])

πŸ“€ How This Dataset Was Built (Processing Pipeline)

  • Download original Mendeley dataset (DOI: 10.17632/fxjm8fb6mw.2).
  • Normalize filenames and parse components: label code, patient ID, X-ray view.
  • Load patient metadata spreadsheet (β€œpatient details.xlsx”).
  • Normalize column names (lowercase, underscores).
  • Join on patient_code (e.g., OP5).
  • Export merged DataFrame and convert to Hugging Face Dataset.
  • Cast image column to datasets.Image() so images render inline on Hub.
  • Upload to Hugging Face Hub (this dataset).

πŸ“š Citation If you use this dataset, please cite the original Mendeley dataset:

Knee X-ray Osteoporosis Database. Published 27 August 2021. Version 2. DOI: 10.17632/fxjm8fb6mw.2. Contributors: Insha Majeed Wani, Sakshi Arora.

BibTeX (generic form; adapt as needed):

@dataset{wani2021knee,
  title        = {Knee X-ray Osteoporosis Database},
  author       = {Wani, Insha Majeed and Arora, Sakshi},
  year         = {2021},
  publisher    = {Mendeley Data},
  version      = {2},
  doi          = {10.17632/fxjm8fb6mw.2},
  url          = {https://data.mendeley.com/datasets/fxjm8fb6mw/2}
}

πŸ” Licensing & Usage

The original dataset is hosted on Mendeley Data. Please review the license terms on the source page: https://data.mendeley.com/datasets/fxjm8fb6mw/2

This processed version is shared for research and educational use. If license conflicts arise, the Hugging Face dataset may need to be made private or removed upon request.


πŸ™ Acknowledgments

  • Original data curators: Insha Majeed Wani, Sakshi Arora, and collaborators.
  • Screening data: Osteoporosis screening camp participants.
  • Processing, formatting, and Hugging Face dataset assembly: [ Sandeep Shaw / IIT(ISM) ].

🧾 Changelog

Version Date Changes
2 August 27, 2021 - Added knee X-ray images for all participants.
- Included clinical metadata: age, gender, menopause age, height, weight, and medical history.
- Integrated T-score and Z-score from Quantitative Ultrasound System.
- Improved formatting and consistency of metadata.
- Enhanced dataset accessibility for global osteoporosis research.
Downloads last month
4