age
float64
1
455
sex
stringclasses
3 values
on_thyroxine
stringclasses
2 values
query_on_thyroxine
stringclasses
2 values
on_antithyroid_medication
stringclasses
2 values
sick
stringclasses
2 values
pregnant
stringclasses
2 values
thyroid_surgery
stringclasses
2 values
I131_treatment
stringclasses
2 values
query_hypothyroid
stringclasses
2 values
query_hyperthyroid
stringclasses
2 values
lithium
stringclasses
2 values
goitre
stringclasses
2 values
tumor
stringclasses
2 values
hypopituitary
stringclasses
1 value
psych
stringclasses
2 values
TSH_measured
stringclasses
2 values
TSH
float64
0.01
530
T3_measured
stringclasses
2 values
T3
float64
0.1
8.5
TT4_measured
stringclasses
2 values
TT4
float64
2
430
T4U_measured
stringclasses
2 values
T4U
float64
0.25
2.32
FTI_measured
stringclasses
2 values
FTI
float64
2
395
TBG_measured
stringclasses
1 value
TBG
float64
referral_source
stringclasses
5 values
Class
stringclasses
2 values
59
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1.2
t
2
t
110
t
0.96
t
114
f
null
SVI
negative
61
M
f
f
f
t
f
f
f
f
f
f
f
f
f
f
t
1.1
t
2.2
t
83
t
0.83
t
101
f
null
SVHD
negative
25
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2.9
f
null
t
88
t
0.87
t
100
f
null
other
negative
66
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.31
t
2
t
123
t
1.15
t
107
f
null
other
negative
71
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.1
t
1.4
t
120
t
0.87
t
138
f
null
other
negative
42
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
null
f
null
t
101
t
1.09
t
93
f
null
other
negative
53
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
8.1
t
2.4
t
132
t
1.28
t
103
f
null
other
negative
75
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2.3
t
0.7
t
78
t
0.82
t
95
f
null
SVI
sick
58
F
t
f
f
f
f
f
f
f
f
f
f
f
f
f
t
5.4
t
1.6
t
105
f
null
f
null
f
null
other
negative
27
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2.6
t
2.2
t
94
t
0.89
t
106
f
null
SVI
negative
78
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
6.3
t
1.1
t
56
t
0.86
t
65
f
null
SVI
sick
44
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.41
t
0.8
t
105
t
0.82
t
127
f
null
SVI
sick
76
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
27
t
2.3
t
135
t
1.54
t
88
f
null
other
negative
28
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
4.2
t
1.5
t
83
f
null
f
null
f
null
other
negative
30
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
8.5
t
2.1
t
91
t
1.16
t
79
f
null
other
negative
73
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2.7
t
1.1
t
62
t
0.7
t
89
f
null
SVI
sick
24
F
f
f
f
f
f
f
f
f
f
f
f
f
f
t
t
1.7
t
2.4
t
126
t
0.92
t
136
f
null
SVHC
negative
15
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2.6
t
2.4
t
100
f
null
f
null
f
null
other
negative
68
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.005
t
1.8
t
142
t
1.05
t
135
f
null
other
negative
50
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2.3
t
2
t
127
t
1.13
t
113
f
null
SVI
negative
44
F
f
f
f
f
f
f
f
f
f
f
f
f
f
t
t
1.8
t
1.9
t
118
t
1.07
t
110
f
null
SVHC
negative
59
F
f
f
f
f
f
f
t
f
f
f
f
f
f
f
t
9.7
f
null
t
81
t
0.96
t
84
f
null
other
negative
78
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1.3
t
1.9
t
126
t
0.9
t
141
f
null
SVI
negative
60
F
f
f
f
f
f
f
f
t
f
f
f
f
f
f
t
183
t
1.1
t
45
t
0.97
t
46
f
null
other
negative
29
M
f
f
f
f
f
f
f
f
f
f
f
f
f
t
t
1.4
t
3.8
t
127
t
1.14
t
112
f
null
SVHC
negative
16
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
9.7
f
null
t
98
t
1.3
t
76
f
null
other
negative
29
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1.3
t
1.6
t
90
t
0.97
t
93
f
null
other
negative
61
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.88
t
0.3
t
46
t
0.58
t
79
f
null
SVI
negative
18
F
f
f
f
f
f
f
f
f
f
f
f
t
f
f
f
null
f
null
f
null
f
null
f
null
f
null
other
negative
73
M
f
f
f
f
f
f
f
f
f
f
f
f
f
t
t
1.7
t
3.6
t
115
t
1.23
t
93
f
null
SVHC
negative
24
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.4
f
null
t
142
t
1.2
t
118
f
null
other
negative
41
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
null
f
null
f
null
f
null
f
null
f
null
other
negative
50
M
t
f
f
f
f
f
f
f
f
f
f
f
f
f
t
11
t
2.2
t
95
t
1.1
t
86
f
null
other
negative
67
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1.1
t
1.2
t
90
t
0.82
t
110
f
null
SVI
negative
81
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.2
t
2.2
t
133
t
0.78
t
171
f
null
other
negative
55
F
t
t
f
t
f
f
f
f
f
f
f
f
f
f
t
0.005
t
1.6
t
115
t
0.84
t
138
f
null
SVHD
negative
39
F
f
f
f
f
f
f
f
t
t
f
f
f
f
f
t
0.2
t
2.2
t
106
t
0.75
t
141
f
null
other
negative
38
F
f
f
f
f
f
f
f
f
f
f
t
t
f
f
f
null
f
null
f
null
f
null
f
null
f
null
other
negative
22
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1
t
2.7
t
150
t
1.22
t
124
f
null
SVHC
negative
22
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1.3
t
1.9
t
94
t
0.89
t
105
f
null
other
negative
62
M
f
f
f
f
f
f
f
f
f
f
f
f
f
t
t
1.1
t
2
t
139
t
1.04
t
134
f
null
SVHC
negative
34
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.25
t
2.3
t
103
t
1.05
t
98
f
null
other
negative
28
F
f
f
t
f
f
f
f
f
t
f
f
f
f
f
t
0.15
t
1.9
t
75
t
1.12
t
67
f
null
other
negative
71
M
t
f
f
f
f
f
f
t
f
f
f
f
f
f
t
25
t
0.3
t
31
t
0.68
t
46
f
null
SVI
negative
63
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.75
t
1.4
t
112
t
0.86
t
130
f
null
SVHC
negative
70
F
f
f
f
f
f
f
f
t
f
f
f
f
f
f
t
1.7
t
1
t
112
t
1.02
t
110
f
null
SVI
sick
22
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2.9
t
1.9
t
83
t
0.74
t
112
f
null
SVI
negative
47
?
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.005
t
2
t
128
t
0.94
t
136
f
null
other
negative
59
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
null
f
null
f
null
f
null
f
null
f
null
other
negative
46
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1.9
t
2
t
106
t
1.01
t
104
f
null
SVHC
negative
49
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
4.9
t
0.7
t
82
t
0.79
t
104
f
null
SVI
sick
71
F
t
f
f
f
f
f
t
t
t
f
f
f
f
f
t
2.4
t
1.9
t
133
t
1.09
t
123
f
null
other
negative
26
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
null
f
null
f
null
f
null
f
null
f
null
other
negative
75
F
f
f
f
f
f
f
t
f
f
f
f
f
f
f
t
0.31
t
2.2
t
85
t
1.19
t
71
f
null
other
negative
39
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.5
t
2.2
t
121
t
1.01
t
121
f
null
other
negative
59
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.82
t
1.4
t
91
t
0.97
t
94
f
null
other
negative
33
F
f
f
f
f
f
t
f
f
f
f
f
f
f
f
t
8.2
t
1.5
t
74
t
0.9
t
83
f
null
STMW
negative
25
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
468
t
0.7
t
21
t
1.1
t
19
f
null
other
negative
39
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
3
t
2.7
t
91
t
0.92
t
98
f
null
SVHC
negative
21
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2.2
t
1.5
t
78
t
0.89
t
88
f
null
other
negative
52
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2
f
null
t
120
t
1.02
t
118
f
null
other
negative
69
F
t
f
f
f
f
f
f
f
f
f
f
f
f
f
t
5.9
t
1.8
t
163
t
1.09
t
149
f
null
other
negative
57
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1.9
f
null
t
85
t
0.79
t
108
f
null
other
negative
36
F
t
f
f
f
f
f
f
t
f
f
f
f
f
f
t
0.05
t
2.2
t
162
t
1.15
t
140
f
null
other
negative
77
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2.2
t
0.2
t
80
t
0.8
t
99
f
null
SVI
sick
30
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.76
t
3.4
t
129
t
1.53
t
84
f
null
STMW
negative
67
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.15
t
2.9
t
99
t
1.14
t
88
f
null
SVI
negative
35
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1.5
t
2.4
t
111
t
1.52
t
73
f
null
STMW
negative
56
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
5.4
t
1.7
t
104
t
1.01
t
103
f
null
SVI
negative
63
?
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
null
f
null
f
null
f
null
f
null
f
null
other
negative
73
F
f
f
f
t
f
f
f
f
f
f
f
f
f
f
t
1.6
t
2
t
105
t
1.17
t
89
f
null
SVI
negative
52
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
9.2
t
2.2
t
72
t
1.08
t
66
f
null
other
negative
67
F
t
f
f
f
f
f
f
t
f
f
f
f
f
f
t
0.42
t
1.4
t
140
t
0.98
t
143
f
null
SVI
negative
70
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
2.7
f
null
t
155
t
1.05
t
148
f
null
SVI
negative
34
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.01
t
2.3
t
149
t
0.88
t
169
f
null
other
negative
62
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
13
f
null
t
75
t
1.35
t
55
f
null
SVI
negative
66
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.1
t
1.8
t
108
t
0.71
t
151
f
null
SVI
negative
51
F
f
f
f
f
f
f
f
f
f
f
f
f
f
t
t
0.9
t
1.7
t
95
t
0.95
t
100
f
null
SVHC
negative
37
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1.7
t
1.9
t
95
t
1.05
t
90
f
null
SVI
negative
29
F
f
f
f
f
t
f
f
f
f
f
f
f
f
f
t
0.62
t
3.8
t
211
t
1.88
t
112
f
null
STMW
negative
73
F
t
f
f
f
f
f
f
t
f
f
f
f
f
f
t
2.6
t
1.6
t
89
t
0.94
t
95
f
null
SVI
negative
67
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.1
t
2.1
t
96
t
1.01
t
95
f
null
SVI
negative
71
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.005
t
2.2
t
93
t
0.87
t
107
f
null
other
negative
56
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.52
t
2.4
t
158
t
1.18
t
134
f
null
SVHC
negative
68
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.95
t
2
t
109
t
1.15
t
94
f
null
SVI
negative
54
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.38
t
1.1
t
128
t
0.8
t
160
f
null
SVI
negative
52
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
1.5
t
2.3
t
117
t
1.11
t
105
f
null
SVI
negative
36
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
6
t
1.7
t
121
t
1.12
t
108
f
null
other
negative
43
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.9
t
2.7
t
109
t
1.1
t
99
f
null
other
negative
36
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
8.6
t
3.7
t
131
t
1.65
t
79
f
null
SVI
negative
72
F
f
f
f
t
f
f
f
f
f
f
f
f
f
f
t
5.8
t
1.4
t
107
t
1.07
t
100
f
null
SVI
negative
68
F
f
f
f
t
f
f
f
f
f
f
f
f
f
f
t
1.5
t
2.3
t
117
t
1.04
t
113
f
null
other
negative
2
?
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
472
t
1.7
t
34
t
1.17
t
29
f
null
STMW
negative
40
F
f
f
f
f
f
f
f
f
t
f
f
f
f
f
t
9.2
t
1.5
t
113
t
1.03
t
109
f
null
other
negative
39
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.1
t
1.8
t
90
t
0.71
t
126
f
null
other
negative
84
F
t
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.04
f
null
t
213
t
0.99
t
216
f
null
other
negative
59
F
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
4.4
t
2.4
t
80
t
0.98
t
81
f
null
other
negative
84
M
f
f
f
t
f
f
f
f
f
f
f
f
f
f
t
0.67
t
0.9
t
70
t
0.78
t
90
f
null
SVI
sick
46
M
f
f
f
f
f
f
f
f
f
f
f
f
f
f
t
0.6
f
null
t
98
t
0.94
t
104
f
null
other
negative
24
M
f
f
f
f
f
f
f
f
f
f
f
f
f
t
t
0.1
t
1.6
t
182
f
null
f
null
f
null
SVHC
negative
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

Thyroid Disease Dataset

Please refer to original source for more details.

Dataset Description

The Thyroid Disease dataset comprises medical records related to thyroid conditions. Supplied by the Garavan Institute and J. Ross Quinlan from the New South Wales Institute, Sydney, Australia in 1987, this dataset is widely used for diagnosing thyroid disorders. It contains 3,772 instances with 30 attributes, including both continuous and discrete features.

Citation

Please cite the dataset as follows:

Thyroid disease records supplied by the Garavan Institute and J. Ross Quinlan, New South Wales Institute, Sydney, Australia. 1987.

Dataset Structure

  • Number of Instances: 3,772
  • Number of Attributes: 30
  • Attribute Types:
    • Continuous: 7 (1 integer, 6 real)
    • Discrete: 23
  • Missing Values: 6,064 (5.4% of the dataset)

Features

The dataset includes the following features:

Feature Type Description Possible Values
age Integer Age of the patient Continuous values
sex Categorical Gender of the patient M, F
on thyroxine Categorical Whether the patient is on thyroxine medication f (false), t (true)
query on thyroxine Categorical Whether there is a query on thyroxine usage f, t
on antithyroid medication Categorical Whether the patient is on antithyroid medication f, t
sick Categorical Whether the patient is sick f, t
pregnant Categorical Whether the patient is pregnant f, t
thyroid surgery Categorical Whether the patient has undergone thyroid surgery f, t
I131 treatment Categorical Whether the patient has received I131 treatment f, t
query hypothyroid Categorical Query on hypothyroid status f, t
query hyperthyroid Categorical Query on hyperthyroid status f, t
lithium Categorical Whether the patient is taking lithium f, t
goitre Categorical Presence of goitre f, t
tumor Categorical Presence of a tumor f, t
hypopituitary Categorical Hypopituitary condition status f, t
psych Categorical Psychological condition status f, t
TSH measured Categorical Whether TSH was measured f, t
TSH Real Thyroid Stimulating Hormone level Continuous values
T3 measured Categorical Whether T3 was measured f, t
T3 Real Triiodothyronine level Continuous values
TT4 measured Categorical Whether TT4 was measured f, t
TT4 Real Total T4 level Continuous values
T4U measured Categorical Whether T4U was measured f, t
T4U Real T4 Uptake Continuous values
FTI measured Categorical Whether FTI was measured f, t
FTI Real Free Thyroxine Index Continuous values
TBG measured Categorical Whether TBG was measured f, t
TBG Real Thyroxine Binding Globulin Continuous values
referral source Categorical Source of referral WEST, STMW, SVHC, SVI, SVHD, other
Class Categorical Diagnosis class sick, negative

Data Statistics

  • Missing Values: 6,064 out of 113,160 total data points (5.4%)
  • Distinct Values per Feature:
    • age: 93 distinct values (2% missing)
    • sex: 2 distinct values (4% missing)
    • on thyroxine: 2 distinct values (0% missing)
    • query on thyroxine: 2 distinct values (0% missing)
    • on antithyroid medication: 2 distinct values (0% missing)
    • sick: 2 distinct values (0% missing)
    • pregnant: 2 distinct values (0% missing)
    • thyroid surgery: 2 distinct values (0% missing)
    • I131 treatment: 2 distinct values (0% missing)
    • query hypothyroid: 2 distinct values (0% missing)
    • query hyperthyroid: 2 distinct values (0% missing)
    • lithium: 2 distinct values (0% missing)
    • goitre: 2 distinct values (0% missing)
    • tumor: 2 distinct values (0% missing)
    • hypopituitary: 2 distinct values (0% missing)
    • psych: 2 distinct values (0% missing)
    • TSH measured: 2 distinct values (0% missing)
    • TSH: 287 distinct values (10% missing)
    • T3 measured: 2 distinct values (0% missing)
    • T3: 69 distinct values (2% missing)
    • TT4 measured: 2 distinct values (0% missing)
    • TT4: 241 distinct values (6% missing)
    • T4U measured: 2 distinct values (0% missing)
    • T4U: 146 distinct values (4% missing)
    • FTI measured: 2 distinct values (0% missing)
    • FTI: 234 distinct values (6% missing)
    • TBG measured: 1 distinct value (0% missing)
    • TBG: 3,772 distinct values (0% missing)
    • referral source: 5 distinct values (0% missing)
    • Class: 2 distinct values (0% missing)

Usage

This dataset is ideal for training classification models to diagnose thyroid disorders based on patient medical records. It can be used for tasks such as binary classification, feature analysis, and missing data handling techniques.

Downloads last month
16

Models trained or fine-tuned on vitaliykinakh/sick