Thyroid Detection Using Machine Learning
Thyroid Detection Using Machine Learning
Thyroid Detection Using Machine Learning
Chethan MS Devikarani H S
Department of ECE Department of ECE
DSU, Bangalore, Karnataka, India DSU, Bangalore, Karnataka, India
Abstract—The Thyroid gland is a vascular gland classification in healthy patient as accurate as possible.
and one of the most important organs of a human If this is not done, misclassification can lead to a
body. This gland secretes two hormones which help healthy patient getting unnecessary treatment.
in controlling the metabolism of the body. The two
types of Thyroid disorders are Hyperthyroidism The Thyroid gland is an endocrine gland present in the
and Hypothyroidism. When this disorder occurs in human neck beneath the Adam’s apple which help in
the body, they release certain type of hormones into secretion of thyroid hormone that influence the rate of
the body which imbalances the body’s metabolism. metabolism and protein synthesis. The thyroid
Thyroid related Blood test is used to detect this hormones are useful in counting how briskly the heart
disease but it is often blurred and noise will be beats and how fast we burn calories. The thyroid
present. Data cleansing methods were used to make secretes two types of active hormones called
the data primitive enough for the analytics to show levothyroxine (T4) and triiodothyronine (T3). These
the risk of patients getting this disease. Machine hormones help in regulating the body temperature.
Learning plays a very deciding role in the disease These also aid in energy-bearing and transmission in
prediction. Machine Learning algorithms, SVM - every part of the body and decisive in protein
support vector machine, decision tree, logistic management. Iodine is considered as the main
regression, KNN - K-nearest neighbours, ANN- building block of the thyroid gland. It’s prostrated in
Artificial Neural Network are used to predict the few specific problems. Undersupply of these
patient’s risk of getting thyroid disease. Web app is hormones can lead to hyperthyroidism. There are
created to get data from users to predict the type of many originations related to hyperthyroidism and
disease. underactive thyroids. There are various kinds of
medications like thyroid surgery is liable to ionizing
Keywords— SVM, KNN, ANN, Logistic Regression, radiation, continual tenderness of the thyroid,
Flask. deficiency of iodine and lack of enzyme to make
thyroid hormones.
I. INTRODUCTION
II. DEFINITION OF PROBLEM
The evolvement computational biology is used in
healthcare industry. It allows collection of stored According to statistics, thyroid disorders are on the
patient data for the prediction of the disease. There are rise in India. Approximately 1 in 10 Indian adults
prediction algorithms which are available for the suffer from thyroid problem. It has been estimated that
diagnosis of the disease at early stages. The medical around 42 million peoples suffer from thyroid disease.
information systems are rich of datasets but there are Predicting thyroid disorder by doctor is a tedious
only few intelligent systems which can easily analysis process which might lead to negative prediction, only
the disease. Over a period of time, the machine experienced doctor can examine the case properly. To
learning algorithms have started playing a crucial role assist doctors machine learning can help them in
in resolving the complex and non-linear problems in diagnosis of disease and reduces their burden.
the developing model. In any disease prediction
models are used to override the features that can be
selected from different datasets which can be used in
173
International Journal of Engineering Applied Sciences and Technology, 2021
Vol. 5, Issue 9, ISSN No. 2455-2143, Pages 173-177
Published Online January 2021 in IJEAST (http://www.ijeast.com)
174
International Journal of Engineering Applied Sciences and Technology, 2021
Vol. 5, Issue 9, ISSN No. 2455-2143, Pages 173-177
Published Online January 2021 in IJEAST (http://www.ijeast.com)
A. Result
Heat map
B. Data set
A new_thyroid dataset is accessible in UCI
machine learning repository and this set has
215 samples and 5 features.
5 lab tests are used to try to predict whether a Fig 3: Heat Map
patient’s thyroid to the class is normal,
KNN algorithm has been implemented and 93.84%
hypothyroidism or hyperthyroidism. The
diagnosis (the class level) was based on a accuracy score is obtained as shown in fig 4.
complete medical record.
This dataset has 150 instance of normal class,
35 instance of hyperthyroidism class and 35
instance of hypothyroidism class.
Class attribute, T3 resin uptake test, total T4
, total T3 , TSH , difference of TSH value
after injection of 200 micrograms of
thyrotropin releasing hormone (as shown in
fig 2). Fig 4: KNN algorithm accuracy
175
International Journal of Engineering Applied Sciences and Technology, 2021
Vol. 5, Issue 9, ISSN No. 2455-2143, Pages 173-177
Published Online January 2021 in IJEAST (http://www.ijeast.com)
176
International Journal of Engineering Applied Sciences and Technology, 2021
Vol. 5, Issue 9, ISSN No. 2455-2143, Pages 173-177
Published Online January 2021 in IJEAST (http://www.ijeast.com)
177