Heart Disease Diagnosis
Project information
- Category: Artificial Intelligence
- Project Tools: Python
- Project date: June, 2022
- Project URL: GitHub Repository
Project description
This project is an implementation of a heart disease diagnosis system using a fuzzy expert system. The output determines whether a person has heart disease or not. The whole process comprises three main steps, discussed below.
Fuzzification: To solve the problem with the help of fuzzy logic, it is necessary to convert our values from absolute to fuzzy (imprecise, relative). This stage is called Fuzzification. For this purpose, fuzzy sets should be defined and according to the membership function, the membership of each value to the set should be calculated.
Inference: In the next step, it is necessary to check the obtained fuzzy values in the existing rules to solve the problem. This stage is called Inference. There are different methods in fuzzy logic for calculating community and sharing operators. Here we use the maximum and minimum method (AND=min and OR=max).
Defuzzification: The last step is called Defuzzification. At this stage, we return to the world of absolute values with the help of repeated deductions to obtain the answer in the form of absolute values. There are also different methods for dephasing, one of the most important and widely used of which is the center of mass method.