artificial intelligence techniques in medical...

13
Medical Diagnosis Enhancements Through Artificial Intelligence Hesham Nabih Elmahdy Computer Science and Information Systems Consultant, Faculty of Computer and Information Sciences, Ain Shams University E-mail: [email protected] Home Page: http://www.h-elmahdy.net / Alkhalifa Almaamoon st., Abbassia, Cairo, Egypt Phone : (0112) 0122511654 Fax : (011202) 5246276 Abstract: Diagnosis of diseases is the process of converting observed evidence into the names of diseases. Central to the effective delivery of health care by the physician is the complex skill of clinical problem solving. The accuracy of this skill is crucial to the life and well being of his/her patients. The efficiency with which it is applied is of great economic important. Applying Artificial Intelligence (AI) techniques in medical field may help not only in improving the accuracy performance of classification but also in saving diagnostics' time, cost, and the pain accompanying pathologies' tests. This paper introduces an evolution of AI techniques that have been used in medical diagnosis. Then, it introduces the author’s experiments using Machine Learning (ML) algorithms on Thyroid Disease Datasets with and without Feature Subset Selection (FSS). The experiments’ motivation is to determine the usefulness and the feasibility of FSS to decision making under risk (Medical field as an example). Keywords : Artificial Intelligence, Machine learning, Neural Networks, Feature Subset Selection, Medical Diagnosis, Thyroid Disease, Decision making, MLC++, ID3, IB, const, naive-bayes. 1. Introduction: Medical diagnosis, a problem solving, is very vital and one of the important problems from the real world. Diagnosis of diseases is the process of converting observed evidence into the names of diseases. The evidence consists of data obtained from examining a patient and substances derived from the patient; the diseases are conceptual medical entities that identify abnormalities in the observed evidence [Fein 1973]. “The concept of “disease” simply meant dis-ease, that is feeling unwell. However, with the advent of scientific medicine, physicians began to identify different disease entities underlying different complaints of “dis-ease.” Each was viewed as the cause of a distinct set of clinical signs and symptoms. The diseases -causal chains- are ordered within taxonomies such as the International Classification of Diseases, and diagnosis becomes a process of placing a case within one or more of these categories. The process of causal diagnosis usually begins with an investigation of patients’ symptoms, tracing them back down the chain until the source of the problem is confirmed” [Bore 1995]. Central to the effective delivery of health care by the physician is the complex skill of clinical problem solving. The accuracy of this skill is crucial to the life and well being of his/her patients. The efficiency with which it is applied is of great economic important [Elma 2002]. “The human mind behaves as if an information system of limited channel capacity. Or, to put it more bluntly, we become easily overloaded with information. As we acquire more and more data we get into a state where we make mistakes, overlook the obvious, and cannot see the wood for the trees. Of course, doctors are no different: they become overloaded with information almost as easily as the rest of the population. This has been suspected for some time and confirmed in the pattern-matching studies of the Leeds group about five years ago. What is new, and important, is that we are beginning to realize how much doctors’ performance (in both diagnosis and management) is damaged by the constant flow of large quantities of (often irrelevant) information in a short space of time”[Brit 1977]. By all means, physician is responsible for making any medical decision. Both intelligent and non-intelligent computer applications are only helping tools. Two decades ago, Artificial 1

Upload: lytram

Post on 02-Sep-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

Medical Diagnosis Enhancements Through Artificial Intelligence

Hesham Nabih ElmahdyComputer Science and Information Systems Consultant,

Faculty of Computer and Information Sciences, Ain Shams University E-mail: [email protected] Home Page: http://www.h-elmahdy.net/

Alkhalifa Almaamoon st., Abbassia, Cairo, EgyptPhone : (0112) 0122511654 Fax : (011202) 5246276

Abstract:Diagnosis of diseases is the process of converting observed evidence into the names of

diseases. Central to the effective delivery of health care by the physician is the complex skill of clinical problem solving. The accuracy of this skill is crucial to the life and well being of his/her patients. The efficiency with which it is applied is of great economic important. Applying Artificial Intelligence (AI) techniques in medical field may help not only in improving the accuracy performance of classification but also in saving diagnostics' time, cost, and the pain accompanying pathologies' tests. This paper introduces an evolution of AI techniques that have been used in medical diagnosis. Then, it introduces the author’s experiments using Machine Learning (ML) algorithms on Thyroid Disease Datasets with and without Feature Subset Selection (FSS). The experiments’ motivation is to determine the usefulness and the feasibility of FSS to decision making under risk (Medical field as an example).

Keywords : Artificial Intelligence, Machine learning, Neural Networks, Feature Subset Selection, Medical Diagnosis, Thyroid Disease, Decision making, MLC++, ID3, IB, const, naive-bayes.

1. Introduction:Medical diagnosis, a problem solving, is very vital and one of the important problems from

the real world. Diagnosis of diseases is the process of converting observed evidence into the names of diseases. The evidence consists of data obtained from examining a patient and substances derived from the patient; the diseases are conceptual medical entities that identify abnormalities in the observed evidence [Fein 1973]. “The concept of “disease” simply meant dis-ease, that is feeling unwell. However, with the advent of scientific medicine, physicians began to identify different disease entities underlying different complaints of “dis-ease.” Each was viewed as the cause of a distinct set of clinical signs and symptoms. The diseases -causal chains- are ordered within taxonomies such as the International Classification of Diseases, and diagnosis becomes a process of placing a case within one or more of these categories. The process of causal diagnosis usually begins with an investigation of patients’ symptoms, tracing them back down the chain until the source of the problem is confirmed” [Bore 1995]. Central to the effective delivery of health care by the physician is the complex skill of clinical problem solving. The accuracy of this skill is crucial to the life and well being of his/her patients. The efficiency with which it is applied is of great economic important [Elma 2002].

“The human mind behaves as if an information system of limited channel capacity. Or, to put it more bluntly, we become easily overloaded with information. As we acquire more and more data we get into a state where we make mistakes, overlook the obvious, and cannot see the wood for the trees. Of course, doctors are no different: they become overloaded with information almost as easily as the rest of the population. This has been suspected for some time and confirmed in the pattern-matching studies of the Leeds group about five years ago. What is new, and important, is that we are beginning to realize how much doctors’ performance (in both diagnosis and management) is damaged by the constant flow of large quantities of (often irrelevant) information in a short space of time”[Brit 1977].

By all means, physician is responsible for making any medical decision. Both intelligent and non-intelligent computer applications are only helping tools. Two decades ago, Artificial

1

Page 2: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

Figure 1 Artificial Intelligence Applications

Intelligence (AI) was considered a new computer science field. “Many people expect advances in Artificial Intelligence to provide the revolutionary breakthrough that will give order of magnitude gains in software productivity and quality. I do not” [Broo 1987]. Brooks1 introduced two definitions of the AI, then he criticized that field because he thought that most of the AI work is problem specific and some abstraction or creativity is required to see how to transfer it. Brooks idea about AI and other attacks who opposed that wonderful field could not stop the train of research and development to present the luxurious and happiness of the human being. Tens of conferences and workshops have been held since that time to sanitize AI researches.

This paper discusses the medical diagnosis enhancement using artificial intelligence techniques in six main sections. First, Artificial Intelligence. Second, Where to go ? What tools? Third, Method specification & Hypothesis. Fourth, Experiments Implementation. Fifth, Results evaluation. Sixth, Conclusions. Let’s start with Artificial Intelligence and its applications in the medical diagnosis field.

2. Artificial Intelligence:Human Intelligence was defined by the psychologists in many ways, "it is the capabilities to

give appropriate responses" [Throndyke], "it is the capability for adapting to any new situations" [Penter], "it is the capabilities for the mental adapting to life problems and its new circumstances" [Stem], "it is the capabilities for the pure thinking" [Petrman], "it is the capabilities for the earning and learning" [Woodriew], or in other words : "it is the capabilities for pure thinking, learning, earning, adapting to the new circumstances of the life" [Elma 1992].

Artificial Intelligence (AI) is the field of Computer Sciences concerned with the use of computers to solve tasks that previously could be solved only by applying human intelligence. In other words, AI is the study of techniques for solving exponentially hard problems in polynomial time by exploiting knowledge about the problem domain. The main goal of AI is : simulating human

“Medical Artificial Intelligence is primarily concerned with the construction of AI programs that perform diagnosis and make therapy recommendations. Unlike other medical applications based on other programming methods such as purely statistical methods, medical AI programs are based on symbolic models of disease and other relationships to patient

Intelligent systems can be developed to help physicians to make their decisions (diagnosis and therapy). The main AI applications related to the medical diagnosis are: Expert Systems, and Learning Systems.

1 Fredrick P. Brooks is Professor of Computer Science at the University of North Carolina in Capital Hill. He is best known as the “father of the IBM/360 computer family”.

2

Page 3: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

Figure 2 Components of an Expert System

2.1 Expert Systems:Expert Systems

(ES) is considered the most popular AI application. ES is a trial to transfer the human expertise to the computer, especially for those who are themselves the experts. This application is divided into two main parts. Inference Engine and the Knowledge Base. The system has the capabilities to add or to delete rule(s) without user interference to improve its capabilities, therefore, getting experience. In other words, Expert Systems are computer programs which utilize knowledge, facts and inference processing techniques to solve problems that would normally require human expertise. These systems are well-adapted for applications that require searching, interpretation, prediction, explanation, knowledge fusing, diagnosis, configuring, scheduling, monitoring, planning and giving advice. Expert systems typically operate in a narrow domain of knowledge and are used to extend the application of the computers to problem areas that are difficult to implement with conventional Data Processing techniques. Also, expert system should be capable of explaining its behavior and its decision to the user, as human experts do. Often an expert system, is expected to

“Expert systems today are applied to the following tasks of clinical medicine, generating alerts and reminders, diagnostic assistant, therapy critiquing and education. Famous expert systems are orthoplanner provides dentists with orthodontic treatment plans. CancerMe for an automated delivery of personnel advice on how to reduce risk of cancer. And as cancer types have been the focus of a lot of research involving soft computing techniques. Major areas of focus include prostrate cancer and breast cancer Andres et al. A review of soft computing and gynecological cancer is given in Odusanya and etal 2000” [Sale 2002].

In many professional fields expertise is scarce , and codification of knowledge can be quite limited in practice. Expertise, in the form of records of solved cases, may be the sole source of knowledge. “Expert systems are criticized for being limited in their abilities to surpass the level of existing experts. Another often cited problem is the great effort required to build and maintain a knowledge base, and shortage of trained knowledge engineers to interview experts and capture their knowledge in a set of decision rules or other representational elements, known as knowledge acquisition, is quite time consuming, leading to lengthy development, which must be continued if the system is to be maintained in routine use at a high level on performance” [Weis 1991].

2.2 Learning Systems:Learning systems can be divided into: Statistical Pattern Recognition, Neural Networks, and

Machine Learning methods.

2.2.1 Statistical Pattern Recognition:The classical methods from statistical pattern recognition have been taken care far more

comprehensively than other methods. (for example; the normal linear discriminant, the nearest neighbor method, and Bayes rule which specifies the theoretical minimum error solution). Although, these methods have emerged to demonstrate consistently good predictive performance, they have limited applications in medical field [Weis 1991].

3

Page 4: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

Figure 3. A Simple Neuron.

Figure 4. A fundamental representation of an artificial neuron.

2.2.2 Neural Networks:Artificial Neural Networks are relatively complex electronic models based on the neural

structure of the brain. The brain basically learns from experience. It is natural proof that some problems that are outside the scope of current computers are indeed solvable by small energy efficient packages. This brain modeling also promises a less technical way to develop automated solutions. This new way to computing also provides a more elegant degradation during system overload than its more traditional counterparts. These artificial neural networks try to replicate only the most basic elements of this complicated, versatile, and powerful organism. They do it in a primitive way. But for the software engineer who is trying to solve problems, neural computing was never about replicating human brains [Ande 1992].

The fundamental processing building block of a neural network is a neuron. Figure 3 shows a simple neuron. This building block of human awareness encompasses a few general capabilities. Basically, a biological neuron receives inputs from other sources, combines them in some way, performs a generally nonlinear operation on the result, and then outputs the final result. The goal of artificial neural networks is not the grandiose recreation of the brain.

On the contrary, neural network researchers are seeking an understanding of nature's capabilities for which people can engineer solutions to problems that have not been solved by traditional computing. To do this, the basic unit of neural networks, the artificial neurons, simulate the four basic functions of natural neurons. Figure 4 shows a fundamental representation of an artificial neuron [Ande 1992].

One of the big events was the “Neural Network Applications in Medicine(ANN)” Vail, Colorado, USA, 2-3 December 1994 [Neur 1994]. Also, there are many Neural Network Projects in Medicine. The ANN approach to the analysis of data will see extensive application to biomedical problems in the next few years. It has already been successfully applied to various areas of medicine, such as Diagnostic Aides, Chemical Analysis, Image Analysis, and Drug Development. The application of ANNs in diagnosing heart attacks received publicity in the Wall Street Journal when the ANN was able to make the diagnosis with a better accuracy than the physician . This

4

Page 5: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

Case Format

Features Classes

Sample Cases Patterns

of Feature Values

Correct

Decisions

General Classifier

Model Learning System

Application-Specific Classifier

Figure 5 Classification Representation

application is significant because it was used in the emergency room where the physician is not able to handle large amounts of data. In the United Kingdom, an ANN that is used in the early diagnosis of myocardial infarction is currently under going clinical testing at 4 hospitals . Other research level applications include diagnosis of heart murmur, diagnosis of coronary artery disease , ECG diagnosis, lung disease diagnosis, epilepsy diagnosis, urinalysis, blood analysis, tumor detection in ultra-sonograms, detection and classification of micro-classifications in mammograms, classification of chest x-rays, tissue and vessel classification in MRI, x-ray spectral reconstruction, determination of skeletal age, brain maturation, tracking blood glucose in diabetics, cancer and AIDS drug development, and molecular modeling. As part of the Medical Technology and Systems Initiative at Pacific Northwest National Laboratory, several projects applying neural networks to medical technology have been recently proposed [Neur 1995], [Elma 2002].

Although neural networks (NN) learns from the experience stored in cases, they could not exploit the many pieces of other heterogeneous knowledge. NNs need to formulate the problem into a mathematical function, but, it is not an easy job to model everything in real life as a mathematical function. Also, “getting a good solution and good estimates for the performance of neural net learning systems is substantially more complex, and requires greater effort than does for other learning systems” [Weis 1991].

2.2.3 Machine Learning:

“A machine learning system is a program that makes decisions based on the accumulated experience contained in successfully solved cases.

Unlike an expert system, which solves problems using a computer model of expert human reasoning, a pure learning system can use many different techniques for exploiting the computational

5

Page 6: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

power of a computer regardless of their relation to human cognitive processes. The goals of learning systems are no different from those for expert systems: to deal with complex real-world decision-making problems, and to solve these problems in the sense of reaching correct conclusions”[Weis 1991]. Weiss simplified the view of a learning system to be as a higher-level system that helps build the decision-making system itself, called the classifier. Weiss presented his classification representation shown in Figure 5 [Elma 2002] .

Machine learning methods represent solutions in a form compatible with typical human reasoning. Both machine learning methods and the back propagation neural networks are families of models that can range from simple to complex. Learning systems that use sample data can be contrasted with rule-based expert systems that attempt to explicitly capture knowledge of human experts in computer programs.

3. Where to go ? what tools ? As we discussed above, both expert systems and NN are often criticized for being limited in

their abilities to beat the levels of on hand experts. Another problem is the great effort necessary to build, maintain, and represent the knowledge base.

The basic advantage of machine learning systems is that they have the potential to exceed the performance of expertise (they discover the relationships among concepts and hypotheses by examining the record of successfully solved cases). Thus, the process learning automatically holds out the promises of incorporating knowledge into the system without the need of a knowledge engineer. What we can learned from sample experience alone is limited, so, there is a need to combine domain- specific expert knowledge with learning approaches [Weis 1991].

The following section discusses the author’s experiments using the MLC++ utilities [Koha 1995b]. Applying these utilities on datasets that was gotten from the UCI Repository [UCI 1995]. The aim of one of these datasets is to classify if the patient is hyperthyroid. They were left at the University of California at Irvine by Ross Quinlan during his visit in 1987 for the 1987 Machine Learning Workshop. Quinlan's C4 decision tree program was used against these databases. The author applied ID3, IB, const, and naive-bayes with and without using feature subset selection. The purpose of those experiments is to determine the usefulness and the feasibility of machine learning tools on the decision making under risk (Medical field as an example).

4-Method specification & Hypothesis :There are three reasons for using thyroid datasets. The first reason, the thyroid disorders for

which screening is most often considered, hyperthyroidism, hypothyroidism, and thyroid cancer, account for significant morbidity and mortality in the United States. About 2-3% of the US population have either hypothyroidism or hyperthyroidism, conditions that are especially common in women and the elderly. The diverse symptoms that are characteristic of these diseases can have significant impact on the health and behavior of victims. Hyperthyroidism, for example, can cause restlessness, emotional liability, insomnia, heat intolerance, dyspnea, palpitations, ophthalmopathy, diarrhea, muscle atrophy, weakness, tremors, and tachycardia. Hypothyroidism can produce lethargy, confusion, poor memory, cold intolerance, weight gain, constipation, alopecia, dyspnea, myalgias, and paresthesias. Thyroid dysfunction may even lead to death; examples include thyroid storm in hyperthyroidism and myxedema coma in hypothyroidism. The nonspecific nature of many thyroid symptoms introduces added difficulties for patients, especially for those with hypothyroidism, because many thyroid symptoms are easily confused with those of other medical and psychiatric conditions. The patient may receive an incorrect diagnosis or none at all, and this may delay the initiation of appropriate treatment [Guid 1995].

The second reason, Thyroid Disease Datasets are well-known datasets in the machine learning literature. These datasets are available in the UCI Repository of Machine Learning Databases. The aim of these datasets is to classify if the patient is hyperthyroid. They were left at the University of California at Irvine by Ross Quinlan during his visit in 1987 for the 1987 Machine Learning

6

Page 7: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

Training Test

Thyroid data 1870 972

Breast Data 466 233

The effect of applying FSS in ID3 accuracy

9596979899100

Allbp Allhypo Allhyper Allrep Dis

Acc

urac

y (%

)

ID3 ID3 FSS

Figure 5 Comparison between the accuracy of applying ID3 with and without FSS.

The effect of applying FSS in IB accuracy

9092949698100

Allbp Allhypo Allhyper Allrep Dis

Acc

urac

y (%

)

IB IB FSS

Figure 6 Comparison between the accuracy of applying IB with and without FSS.

Workshop. Quinlan's C4 decision tree program was used against these databases. The results of applying the ML algorithms have been used in many published works, these works are contained in [Quin 1987], [Quin 1987b], and [Weis 1989], [Weis 1991]. So it is appropriate to test the feasibility of FSS in the medical field by comparing our results with their results. These datasets have the following characteristics:

1. Many attributes (29 or so, mostly the same set over all the databases).2. Mostly numeric or Boolean valued attributes.3. Thyroid disease domains (records provided by the Garavan Institute of Sydney, Australia).4. Several missing attribute values (signified by "?").5. Small number of classes (under 10, changes with each database).6. 2800 instances in each data set.7. 972 instances in each test set (It seems that the test set instances are disjoint with respect to

the corresponding data sets, but this has not been verified).

These datasets are fair enough to support our conclusion. Author applied ID3, IB, const, and naive-bayes with and without using feature subset selection. These algorithms are available in MLC++ utilities [Koha 1995b]

The third reason, there has been much work done to improve the accuracy of diagnosis classification. Author designed his experiments to demonstrate the usefulness and the feasibility of FSS to the Medical field as an example. Author chose ID3, IB, const, and naive-bayes to prepare for the feasibility of FSS. In the next section we present the output from his experiments.

5-Experiments Implementation:Author designed the experiments described in this section to compare the accuracy

performance of applying four of the ML algorithms with and without using FSS on thyroid data. One of our goal is to find which of ML algorithms will give the most reasonable results.

The following table displays the number of instances of the datasets used in our experiments:

Fig 5 shows the comparison between the accuracy of applying ID3 with and without FSS. In three out of the five datasets the performance accuracy of classification increases with FSS, while that accuracy has the same value in the other datasets.

Fig 6

shows the comparison between the accuracy of applying IB with and without FSS. All datasets have the performance accuracy of classification increases with FSS.

Fig 7 shows the comparison between the accuracy of applying const with and without FSS. There is no difference of the accuracy (the baseline accuracy).

7

Page 8: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

The effect of applying FSS in const accuracy

889092949698100

Allbp Allhypo Allhyper Allrep Dis

Acc

urac

y (%

)

const const FSS

Figure 7 Comparison between the accuracy of applying const with and without FSS.

The effect of applying FSS in naive-bayes accuracy

8588919497100

Allbp Allhypo Allhyper Allrep Dis

Acc

urac

y (%

)

naive-bayes naive-bayes FSS

Figure 8 Comparison between the accuracy of applying naive-bayes with and without FSS.

Estimated accuracy of Thyroid data(Without FSS)

86889092949698100

Allbp Allhypo Allhyper Allrep Dis

Acc

urac

y (%

)

ID3 IB const naive-bayes

Figure 9 Comparison between the accuracy of applying the four algorithms without FSS.

FSS accuracy of Thyroid Data

90

92

94

96

98

100

Allbp Allhypo Allhyper Allrep Dis

Acc

urac

y (%

)

ID3 FSS IB FSS const FSS naive-bayes FSS

Figure 10 Comparison between the accuracy of applying the four algorithms with FSS.

The average accuracy of Thyroid data with & without FSS

919293949596979899

ID3 IB const n.-bayes

Acc

urac

y (%

)

Without FSS With FSS

Figure 11 Comparison between the average accuracy of the chosen ML algorithms with and without FSS

ID3 FSS in Thyroid dataFile name: allbp

94

95

96

97

98

No FSS 10 attr. 11 attr. 13 attr.

Acc

urac

y (%

)

Figure 12 The effect of applying FSS in ID3 accuracy (allbp(

Number of Attr evals Node# Accuracy% 10 41 38 96.5211 71 69 97.0613 109 98 97.27

Fig 8 shows the comparison between the accuracy of applying naive-bayes with and without FSS. All datasets have the performance accuracy of classification increases with FSS.

Fig 9 shows the comparison between the estimated accuracy of applying the selected ML algorithms without FSS.

Fig 10 shows the comparison between the accuracy of applying the four algorithms with FSS. Finally, fig 11 shows the comparison between the average accuracy of applying the chosen ML algorithms with and without FSS. All datasets have the performance accuracy of classification increases with FSS.(but const algorithm).

The most promising ML algorithm in these type of datasets is the ID3 according to author’s experiments. So in the next section we will concentrate on ID3 and discuss the feasibility of applying FSS in the medical field.

6- Results evaluation :When tracing ID3 FSS we got the following

robust results. Fig 12. shows the effect of applying FSS in ID3 accuracy on the first dataset.

The following table shows the number of selected features, number of evaluations, the node number of the decision tree, and the related accuracy when applying FSS on ID3 (allbp dataset.)

Fig 13 shows the effect of applying FSS in ID3 accuracy on the second dataset. There is a 8

Page 9: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

Features selected

Ser Attribute Name 10 11 130 age

1 sex

2 on thyroxine

3 query on thyroxine

4 on antithyroid medication

5 sick

6 pregnant

7 thyroid surgery

8 I131 treatment

9 query hypothyroid

10 query hyperthyroid

11 lithium

12 goitre

13 tumor

14 hypopituitary

15 psych

16 TSH measured

17 TSH

18 T3 measured

19 T3

20 TT4 measured

21 TT4

22 T4U measured

23 T4U

24 FTI measured

25 FTI

26 TBG measured

27 TBG

28 referral source

Table (1) selected features for the first dataset.

ID3 FSS in Thyroid dataFile name: allhypo

9092949698

100

NoFSS

2attr.

3attr.

26attr.

27attr.

Acc

urac

y (%

)

Figure 13 The effect of applying FSS in ID3 accuracy (allhypo)

Number of Attr evals Node# Accuracy% 2 32 30 96.473 59 34 98.40

26 109 107 99.3027 143 109 99.36

Fig 13 shows the effect of applying FSS in ID3 accuracy on the second dataset. There is a tangible improvement in performance accuracy. The significant part in this case that we got 98.40% performance accuracy with only using three sets of features (shown in table (2)).

Table(1) shows which selected (shaded) features are used in the evaluation.

The following table shows the number of selected features, number of evaluations, the node number of the decision tree, and the related accuracy when applying FSS on ID3 (allhypo dataset.)

In table (2) we introduced the results of applying FSS in the other datasets. Figures 14, 15, and 13 showed the improving of the accuracy when applying FSS.

9

Page 10: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

ID3 FSS in Thyroid dataFile name: dis

97

98

99

100

No FSS 2 attr. 3 attr. 4 attr.

Acc

urac

y (%

)

Figure 16 The effect of applying FSS in ID3 accuracy (dis)

ID3 FSS in Thyroid dataFile name:allrep

96

97

98

99

No FSS 3 attr. 4 attr. 5 attr.

Acc

urac

y (%

)

Figure 15 The effect of applying FSS in ID3 accuracy (allrep)

Features selected

Ser Attribute Name 2 3 26 270 age

1 sex

2 on thyroxine

3 query on thyroxine

4 on antithyroid medication

5 sick

6 pregnant

7 thyroid surgery

8 I131 treatment

9 query hypothyroid

10 query hyperthyroid

11 lithium

12 goitre

13 tumor

14 hypopituitary

15 psych

16 TSH measured

17 TSH

18 T3 measured

19 T3

20 TT4 measured

21 TT4

22 T4U measured

23 T4U

24 FTI measured

25 FTI

26 TBG measured

27 TBG

28 referral source

Table (2) selected features for the second dataset

ID3 FSS in Thyroid dataFile name: allhyper

969798

99100

No FSS 2 attr. 18 attr.

Acc

urac

y (%

)

Figure 14 The effect of applying FSS in ID3accuracy (allhyper)

Features selected

Ser Attribute Name 2 180 age1 sex2 on thyroxine3 query on thyroxine4 on antithyroid

medication5 sick6 pregnant7 thyroid surgery8 I131 treatment9 query hypothyroid

10 query hyperthyroid11 lithium12 goitre13 tumor14 hypopituitary15 psych16 TSH measured17 TSH18 T3 measured19 T320 TT4 measured21 TT422 T4U measured23 T4U24 FTI measured25 FTI26 TBG measured27 TBG28 referral sourceTable (3) selected features for the third dataset.

Features selected

Ser Attribute Name 3 4 50 age1 sex2 on thyroxine3 query on thyroxine4 on antithyroid medication5 sick6 pregnant7 thyroid surgery8 I131 treatment9 query hypothyroid10 query hyperthyroid11 lithium12 goitre13 tumor14 hypopituitary15 psych16 TSH measured17 TSH18 T3 measured19 T320 TT4 measured21 TT422 T4U measured23 T4U24 FTI measured25 FTI26 TBG measured27 TBG28 referral source

Table (4) selected features for the fourth dataset.

Number of Attr evals Node# Accuracy%

2 146 141 98.0218 188 186 98.18

Table (5) The effect of accuracy related to the features to be selected (ID3 allhyper data set)

Table (5) shows the number of selected features, number of evaluations, the node number of the decision tree, and the related accuracy when applying FSS on ID3 (allhyper dataset.)

10

Page 11: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

# of Attr evals Node# Acc%

3 110 103 98.614 141 110 98.665 189 155 98.82

Table (6) The effect of accuracy related to the number of features to be used (allrep

dataset).

#of Attr evals Node# Acc% .

2 102 97 98.663 130 120 99.094 163 131 99.25

Table (7) The effect of accuracy related to the number of features to be used

(allrep dataset).

There is a significant improvement of performance accuracy at three features. Table (6) shows the number of selected features, number of evaluations, the node number of the decision tree, and the related accuracy when applying FSS on ID3 (allrep dataset.) Figure 16 shows a tangible improvement of accuracy when applying FSS on the fifth dataset.

Also, there is a significant improvement of performance accuracy at three subsets of features. Table (7) shows the number of selected features, number of evaluations, the node number of the decision tree, and the related accuracy when applying FSS on ID3 (dis dataset.)

Author’s experiments showed that applying FSS on the thyroid data improve the performance accuracy of classification. Figure 13 shows the effect of applying FSS in ID3 accuracy (dataset name: allhypo). The first evaluation in that graph is at 10 features only and the other evaluations are at 11 and 13 attributes, that means we can get better accuracy even when we only consider less than 50% of the features. In figures 14, 15, and 16 also we got better performance accuracy with reducing the considered features. This means that applying FSS in on thyroid data will save time of both gathering the data and making tests along with improving the performance of the accuracy of classification.

Generally, there are two possibilities of applying FSS in any decision making field not only in the medical field. First possibility, the performance is getting lower than we got from our experiments. Second possibility, the performance is the same or better than what we got from our experiments. In both cases we can get a rational performance accuracy of classification with selecting some features. Using fewer features mean saving time and the cost of gathering the data. In the medical field using fewer features mean eliminating some pathology tests, consequently saving time and money, as well as the pain accompanying the tests which can be eliminated (in some cases the tissues are being taken by surgery under general anaethetic.) (Appendix #1 shows The effect of applying FSS on Breast Cancer Data). The result of our experiment encouraged us to contact some local physicians to supply us with real data.

7- Conclusions:Artificial Intelligent systems can be developed to help physicians to make their decisions

(diagnosis and therapy). The main AI applications related to the medical diagnosis are: Expert Systems, and Learning Systems. Expert systems are criticized for being limited in their abilities to surpass the level of existing experts, the great effort required to build and maintain a knowledge base, and shortage of trained knowledge engineers to interview experts and capture their knowledge in a set of decision rules or other representational elements, quite time consuming, leading to lengthy development, which must be continued if the system is to be maintained in routine use at a high level on performance

Learning systems can be divided into: Statistical Pattern Recognition, Neural Networks(NN), and Machine Learning methods. The classical methods from statistical pattern recognition have limited applications in medical field. Although, NN have been used for a lot of medical applications, NN could not exploit the many pieces of other heterogeneous knowledge. NNs need to formulate the problem into a mathematical function, but, it is not an easy job to model everything in real life as a mathematical function.

The basic advantage of machine learning systems is that they have the potential to exceed the performance of expertise (they discover the relationships among concepts and hypotheses by examining the record of successfully solved cases). Thus, the process learning automatically holds out the promises of incorporating knowledge into the system without the

11

Page 12: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

need of a knowledge engineer. What we can learned from sample experience alone is limited, so, there is a need to combine domain- specific expert knowledge with learning approaches

Medical diagnosis is a problem solving and decision making. Feature Subset Selection (FSS) selects a good subset of features for improving accuracy performance. Machine learning has nothing to do with differential medical diagnosis. Physicians must start their investigations to determine the directions of suspicions. In each direction physician needs some tests either to eliminate suspicions or to continue in one direction. Applying FSS in medical field may help not only in improving the accuracy performance of classification but also in saving time, cost, and the pain accompanying tests. Much effort has been done in applying neural networks and ML algorithms. Most of this work was concerned with improving the accuracy of the classification, but none of them studied the economic feasibility of applying FSS. Our experiments can be applied in any field that deals with a huge number of features especially in decision making under risk.

Author’s experiments showed an improvement in the performance accuracy of classification in Thyroid data. This improvement occurred though selecting subsets of features. Using some features in the medical field means eliminating some pathology tests and the gathered data in addition to saving time, money, and the pain accompanying tests. There is a hope that even if FSS will not cause any improvement in the performance accuracy, it will give the decision ideas for better managing resources (features). Decision making under risk may benefit by the use of FSS. The future work will concentrate in getting real data and applying FSS on it. Also we will study the risk & the cost analysis for each dataset.

AcknowledgmentsAcknowledgments are due to Kohavi, R., and Dan Sommerfield, Computer Science Department, Stanford University for their “MLC++

Utilities V1.2 “. I am thanking UCI Repository Of Machine Learning Data bases (the source of our datasets). Thanks are due to my wife Dr. Elham for her fruitful discussions about Medical diagnosis. I thank all the faculty of the Faculty of Computer & Information Sciences, Ain Shams University for their support and helpful motivations for working hard.

About the Author:Dr. Eng.: Hesham Nabih Elmahdy is an Information and Computer Science Consultant, he is a faculty member of the Faculty of Computer and Information Sciences, Ain Shams University. He is from Egypt. He received his B.Sc. in Automobile Engineering with honor degree in MTC, Cairo. He received his first M. Sc. in Computer Science in the Institute of Statistical Studies & Research, Cairo University, Cairo in 1992. He was elected to the Upsilon Pi Epsilon Chapter of the University of Mississippi in April 1995. He received his second M.Sc. in Computer Science in the University of Mississippi in 1996. He received his Ph D in Computer Science in the University of Mississippi in 1997. He has been joined The Order of The Engineer of USA since May 1997. His past research was in building Arabic Knowledge Engineering tools. His current research interests are Networks and Multimedia.Current address is: Faculty of Computer and Information Sciences, Ain Shams University , Alkhalifa Almaamoon st., Abbassia, Cairo, Egypt Phone: 0112-0122511654 Fax: 011 (202)524-6276E-mail: info@ h-elmahdy.net Home Page: http://www.h-elmahdy.net/

References:[Elma 2002] Hesham N. Elmahdy, “Machine Learning in Medical Diagnosis,” ICICIS 2002, Workshop on Artificial

Intelligence in Medicine, Cairo, Egypt, pp 45-55, June 23rd, 2002.

[Sale 2002] Abdel-Badeeh M. Salem, “Artificial Intelligence and Expert Systems in Medicine,” ICICIS 2002, Workshop on Artificial Intelligence in Medicine, Cairo, Egypt, pp 1-2, June 23rd, 2002.

[Salz 1999] Steven L. Salzberg, “On Comparing Classifiers: A Critique of Current Research and Methods”, Journal of Artificial Intelligence Research 1 (1999) 1-11.

[Seti 1997] R. Setiono and H. Liu, “Neural Network Feature Selector,” Proceeding of the IEEE, vol. 8, no. 3, May 1997.

[Neur 1995] “Neural Network Projects in Medicine”, http://www.emsl.pnl.gov:2080/docs/cie/neural/projects/ medicine.html

[UCI 1995] UCI Repository Of Machine Learning Databases, http://www.ics.uci.edu/ ~mlearn/ MLRepository.html.

[Bore 1995] Nicholas Boreham, “ Error Analysis and Expert-Novice Differences in Medical Diagnosis”, Expertise and Technology, Lawrence Erlbaum Associates, Publishers, New Jersey, 1995, pp. 93-105.

[Neur 1994] “Neural Network Applications in Medicine,” Vail, Colorado, USA, Dec. 1994, http://www.emsl.pnl.gov: 2080/docs/cie/neural/NIPS-med/homepage.

12

Page 13: Artificial Intelligence Techniques in Medical Diagnosisscholar.cu.edu.eg/ehesham/files/medical.pdf · Figure 1 Artificial Intelligence Applications Intelligence (AI) was considered

[Elma 1992] Hesham N. Elmahdy, “A Knowledge Base System for Representing Islamic Jurisprudence Knowledge and Understanding Arabic Natural Language Query,” M. Sc. Thesis, Cairo University, Cairo, 1992.

[Ande 1992] Dave Anderson, and George McNeill, “Artificial Neural Networks Technology,” A DACS State-of-the-Art Report, Contract Number F30602-89-C-0082, (Data & Analysis Center for Software), ELIN: A011, Rome Laboratory, Utica, New York, August 20, 1992.

[Weis 1991] Sholom M. Weiss, and Casimir A. Kulikowski, “Computer Systems That Learn: Classification and Prediction Methods from Statistics, Neural Nets, Machine Learning, and Expert Systems”, Morgan Kaufmann Publishers, Inc., San Francisco, 1991.

[Broo 1987] Fredrick P. Brooks, Jr., “No Silver Bullet: Essence and Accidents of Software Engineering”, IEEE Computer, pp. 10-19, April 1987.

[Quin 1987] Quinlan, J. “Simplifying Decision Trees”, International Journal of Man-Machine Studies, 1987, pp. 221-234.

[Quin 1987b] Quinlan, J. “Classification of hyperthyroid clinic”, Machine Learning Workshop, University of California, 1987.

[Brit 1977] British Medical Journal, “Reducing doctors’ errors (editorial)”, British Medical Journal, 1, May 1977, pp. 1178-1179.

[Fein 1973] Feinstein, A. R., “An analysis of diagnostics reasoning”, I. The domains and disorderders of clinical microbiology, Yale Journal of Biology and Medicine, 46, pp. 212-232, 1973.

[Barr 1972] Barrows, H. S., & Bennett, K., “The diagnostic (problem-solving) skill of the neurologist Experimental studies and their implication for neurological training”, Archives of Neurology, 26, March 1972, pp. 273-277.

General References:

[Step 2001] Jaroslaw Stepaniuk, “Tolerance Rough Sets and Information Granules”, 7th Int. Conference on Soft Computing MENDEL, pp254-359, Brono, Czech 2001.

[Bald 2001] Pierre Baldi, Soren Brunak, and Sren Brunak, “Bioinformatics : The Machine Learning Approach,” MIT Press, 2nd edition (August 1, 2001)

[Kane 1998] Kane, B., “AI in Midicine”, AI Expert, 1998.

[Kolo 1992] J. Kolodnor and etal , “Case-Base Reasoning”, IEEE Expert, 7(5), pp 5-6, 1992.

13