Skip to content

Amirbehnam1009/Heart-Disease-Detector-System

Repository files navigation

Diagnosis Heart Disease using Fuzzy Logic

About

Under The Supervision of Prof.Mohammad Mehdi Ebadzadeh

Spring 2022

Tools

  • Python
  • Flask

Step One: Fuzzification

Fuzzification is a pivotal step in the process, involving the conversion of precise, absolute values into fuzzy, imprecise ones. This transformation is essential for accommodating uncertainties inherent in real-world data. Through fuzzification, we establish fuzzy sets and determine the degree of membership for each value within these sets. The process is guided by membership functions, which visually depict the degree of belongingness.

Step Two: Inference

Following fuzzification, the next step involves evaluating the fuzzy values obtained against predefined rules. This inference step is crucial for problem-solving within the framework of fuzzy logic.

Step Three: Defuzzification

The final stage, defuzzification, marks the transition from the realm of fuzzy values back to absolute ones, culminating in a clear answer. This process involves various methods, with the center of mass method being one of the most prominent and widely employed. Through iterative deductions, we refine our fuzzy outputs into precise, actionable solutions.

How To Run

  1. Install Requirements : Installl the required prerequisites with the following command:

    pip install -r requirements.txt
    
  2. Run and Debug: Run the app.py file

  3. Interact with the Web Interface: After running app.py head to http://127.0.0.1:8448 to have access to the fuzzy system.

  4. Choose Desired Inputs: Select values for the metrics and click on "Show Result".

  5. Outcome: The Result of your selection will be displayed.

Simulated Result

Simulated Input:

Fuzzy1

Simulated Output:

Fuzzy2 ()

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published