Skip to content

Project developed using Fuzzy Logics to design an expert system for detecting malignancy in the breast cancer sample. GUI developed as a windows installer using python tikinter platform and MATLAB is extended as the inference engine.

License

Notifications You must be signed in to change notification settings

harshitgaur2/SheCare-Breast-Cancer-Detection-Using-Fuzzy-Logic-Expert-System

Repository files navigation

SheCare

Fuzzy Based Expert System for Detection of Breast Cancer

Built using Python ,MATLAB, Tkinter Framework

forthebadge made-with-python Made with MATLAB

Open In Collab

Build Status

About the Project / Research

Breast cancer constitutes as one of the fatal diseases in the world and about the major deaths among the female population is due to the prolonged time in the process of detection and reporting of the cancerous tissues in the affected part. The traditional pattern for detecting the disease is not rapid and requires time and special machined methods.

The raw dataset originally consisted of some missing values of attributes, the examples having missing attributes were removed to create a decision tree for the analysis of rule base. The derived rule base and the data base (membership functions) were fed into an inference engine which was based upon the Mamdani method. After fetching the results from the inference engine, defuzzification was carried. Defuzzification which is based upon the center of area most commonly known as centroid method was performed to obtain the single crisp output for the prediction of the sample.

Demo

Demo.mp4

Features

  • Compact and fast
  • Cloud processing capabilities
  • Precision ready values
  • Lightweight application and easy to containerise

Flow of the Process

flow

Kindly refer to Fuzzy Logics and Mamdani Method for FIS to learn more about the project.

Tech

SheCare is built on top of the following technologies:

  • Python - Language used to create interfaces, models and connections with MATLAB Engine.
  • MATLAB - The computational and matehematics platfrom used to create fuzzy inference engine for fuzzification and defuzzification of inputs.
  • Tkinter - Package based on Py to create graphical user interface.

Installation

SheCare requires Python 3.9, MATLAB Fuzzy Toolbox and Jupyter to be installed on the system.

Open the GUI Folder and install the dependencies
cd "matlabroot\extern\engines\python"
python setup.py install

Or

cd "c:\Program Files\MATLAB\R2019b\extern\engines\python" 
python setup.py install --prefix="c:\work\matlab19bPy36"
  • Set up the MATLAB Toolbox with your account
  • Update the main.ipnyb on your local system and run all the cells

The windows application is ready to be installed with the .exe file in GUI folder. Install and run. If the engine is running on your local system with correct endpoints, correct output will be generated in the window.

License

MIT

This project is not OPEN SOURCED. Copying or stealing any part of the code or reproducing the files at another place without the prior knowledge of the owner can lead to strict actions/jurisdiction as part of the license. Kindly avoid this.

forthebadge By Team Genesis

About

Project developed using Fuzzy Logics to design an expert system for detecting malignancy in the breast cancer sample. GUI developed as a windows installer using python tikinter platform and MATLAB is extended as the inference engine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published