Mohamed Ayman EL-Sayed ID 42020424 G4.pdf

hti

Medical Diagnosis Expert System Report
This Project is a simple expert system for diagnosing diseases based on a set of symptoms using the
experta library. It defines a Greetings class, which inherits from the KnowledgeEngine class, and takes
four arguments during initialization - symptom_map, if_not_matched, get_treatments, and get_details.
The class defines a set of rules for each symptom using the @Rule decorator, which checks whether the
symptom is present or not and stores the user input in a Fact object. The rules are executed in order of
their salience value, with lower values being executed first. If no disease matches the symptoms, the
if_not_matched function is executed, which is passed as an argument during initialization.
The system uses a forward chaining inference engine, which means that the rules are executed in the
order in which they are defined until a conclusion is reached. Once a disease is diagnosed based on the
symptoms, the corresponding disease_X rule is executed, which adds the disease name as a Fact object.
The system then calls the get_treatments and get_details functions, which are passed as arguments
during initialization, to retrieve the treatment and details of the diagnosed disease.

Recomendados

Report of Introduction and methods Explination.docx por
Report of Introduction and methods Explination.docxReport of Introduction and methods Explination.docx
Report of Introduction and methods Explination.docxMohamedAyman183185
6 vistas2 diapositivas
Analyzing Adverse Drug Events Using Data Mining Approach por
Analyzing Adverse Drug Events Using Data Mining ApproachAnalyzing Adverse Drug Events Using Data Mining Approach
Analyzing Adverse Drug Events Using Data Mining ApproachRupal7
247 vistas23 diapositivas
Disease Prediction And Doctor Appointment system por
Disease Prediction And Doctor Appointment  systemDisease Prediction And Doctor Appointment  system
Disease Prediction And Doctor Appointment systemKOYELMAJUMDAR1
1.6K vistas40 diapositivas
Analytical Comparison of Mathematical Modeling in the Diagnostic Expert Systems por
Analytical Comparison of Mathematical Modeling in the Diagnostic Expert SystemsAnalytical Comparison of Mathematical Modeling in the Diagnostic Expert Systems
Analytical Comparison of Mathematical Modeling in the Diagnostic Expert SystemsEditor IJCATR
166 vistas3 diapositivas
Information extraction from EHR por
Information extraction from EHRInformation extraction from EHR
Information extraction from EHRAshis Chanda
89 vistas29 diapositivas
A new architecture of internet of things and big data ecosystem for por
A new architecture of internet of things and big data ecosystem forA new architecture of internet of things and big data ecosystem for
A new architecture of internet of things and big data ecosystem forVenkat Projects
16 vistas9 diapositivas

Más contenido relacionado

Similar a Mohamed Ayman EL-Sayed ID 42020424 G4.pdf

Chronic Kidney Disease Prediction Using Machine Learning por
Chronic Kidney Disease Prediction Using Machine LearningChronic Kidney Disease Prediction Using Machine Learning
Chronic Kidney Disease Prediction Using Machine LearningIJCSIS Research Publications
704 vistas4 diapositivas
ERD.pdf por
ERD.pdfERD.pdf
ERD.pdfMehak Fatima
17 vistas14 diapositivas
Automated health alerts using in home sensor data for embedded health assessment por
Automated health alerts using in home sensor data for embedded health assessmentAutomated health alerts using in home sensor data for embedded health assessment
Automated health alerts using in home sensor data for embedded health assessmentI3E Technologies
393 vistas1 diapositiva
Smart health disease prediction python django por
Smart health disease prediction python djangoSmart health disease prediction python django
Smart health disease prediction python djangoShaikSalman28
3.2K vistas41 diapositivas
heart final last sem.pptx por
heart final last sem.pptxheart final last sem.pptx
heart final last sem.pptxrakshashadu
32 vistas46 diapositivas
Big Data Analytics.pptx por
Big Data Analytics.pptxBig Data Analytics.pptx
Big Data Analytics.pptxKaviya452563
13 vistas13 diapositivas

Similar a Mohamed Ayman EL-Sayed ID 42020424 G4.pdf(20)

Automated health alerts using in home sensor data for embedded health assessment por I3E Technologies
Automated health alerts using in home sensor data for embedded health assessmentAutomated health alerts using in home sensor data for embedded health assessment
Automated health alerts using in home sensor data for embedded health assessment
I3E Technologies393 vistas
Smart health disease prediction python django por ShaikSalman28
Smart health disease prediction python djangoSmart health disease prediction python django
Smart health disease prediction python django
ShaikSalman283.2K vistas
heart final last sem.pptx por rakshashadu
heart final last sem.pptxheart final last sem.pptx
heart final last sem.pptx
rakshashadu32 vistas
Big Data Analytics.pptx por Kaviya452563
Big Data Analytics.pptxBig Data Analytics.pptx
Big Data Analytics.pptx
Kaviya45256313 vistas
Text Extraction Engine to Upgrade Clinical Decision Support System por journal ijrtem
Text Extraction Engine to Upgrade Clinical Decision Support SystemText Extraction Engine to Upgrade Clinical Decision Support System
Text Extraction Engine to Upgrade Clinical Decision Support System
journal ijrtem50 vistas
Text Extraction Engine to Upgrade Clinical Decision Support System por IJRTEMJOURNAL
Text Extraction Engine to Upgrade Clinical Decision Support SystemText Extraction Engine to Upgrade Clinical Decision Support System
Text Extraction Engine to Upgrade Clinical Decision Support System
IJRTEMJOURNAL5 vistas
The Importance Of Classifiers por Sheila Guy
The Importance Of ClassifiersThe Importance Of Classifiers
The Importance Of Classifiers
Sheila Guy2 vistas
FORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCE por JohnLeonard Onwuzuruigbo
FORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCEFORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCE
FORWARD CHAINING AND BACKWARD CHAINING SYSTEMS IN ARTIFICIAL INTELIGENCE
Book 2 chapter-8 por GTU
Book 2 chapter-8Book 2 chapter-8
Book 2 chapter-8
GTU532 vistas
Umldiagramforhospitalmanagementsystem 140425070951-phpapp02 por Vivek Sharma
Umldiagramforhospitalmanagementsystem 140425070951-phpapp02Umldiagramforhospitalmanagementsystem 140425070951-phpapp02
Umldiagramforhospitalmanagementsystem 140425070951-phpapp02
Vivek Sharma42 vistas
Uml diagram for_hospital_management_system por Pradeep Bhosale
Uml diagram for_hospital_management_systemUml diagram for_hospital_management_system
Uml diagram for_hospital_management_system
Pradeep Bhosale122.3K vistas
Heart disease prediction using bio inspired algorithms por Venkat Projects
Heart disease prediction using bio inspired algorithmsHeart disease prediction using bio inspired algorithms
Heart disease prediction using bio inspired algorithms
Venkat Projects463 vistas
System Event Monitoring for Active Authentication por Coveros, Inc.
System Event Monitoring for Active AuthenticationSystem Event Monitoring for Active Authentication
System Event Monitoring for Active Authentication
Coveros, Inc.813 vistas

Más de MohamedAyman183185

Kareem Atif Mohamed 1851711195.pptx por
Kareem Atif Mohamed 1851711195.pptxKareem Atif Mohamed 1851711195.pptx
Kareem Atif Mohamed 1851711195.pptxMohamedAyman183185
9 vistas13 diapositivas
sheet 3 answers.docx por
sheet 3 answers.docxsheet 3 answers.docx
sheet 3 answers.docxMohamedAyman183185
5 vistas5 diapositivas
sheet 3-4.pdf por
sheet 3-4.pdfsheet 3-4.pdf
sheet 3-4.pdfMohamedAyman183185
4 vistas1 diapositiva
sheet 1.docx por
sheet 1.docxsheet 1.docx
sheet 1.docxMohamedAyman183185
3 vistas4 diapositivas
file organization sheet 2 .pdf por
file organization sheet 2 .pdffile organization sheet 2 .pdf
file organization sheet 2 .pdfMohamedAyman183185
12 vistas1 diapositiva
Task mo7drt File Organization.docx por
Task mo7drt File Organization.docxTask mo7drt File Organization.docx
Task mo7drt File Organization.docxMohamedAyman183185
6 vistas1 diapositiva

Último

CXL at OCP por
CXL at OCPCXL at OCP
CXL at OCPCXL Forum
208 vistas66 diapositivas
The Importance of Cybersecurity for Digital Transformation por
The Importance of Cybersecurity for Digital TransformationThe Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital TransformationNUS-ISS
25 vistas26 diapositivas
Astera Labs: Intelligent Connectivity for Cloud and AI Infrastructure por
Astera Labs:  Intelligent Connectivity for Cloud and AI InfrastructureAstera Labs:  Intelligent Connectivity for Cloud and AI Infrastructure
Astera Labs: Intelligent Connectivity for Cloud and AI InfrastructureCXL Forum
125 vistas16 diapositivas
Five Things You SHOULD Know About Postman por
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About PostmanPostman
25 vistas43 diapositivas
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy por
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy
"Role of a CTO in software outsourcing company", Yuriy NakonechnyyFwdays
40 vistas21 diapositivas
Tunable Laser (1).pptx por
Tunable Laser (1).pptxTunable Laser (1).pptx
Tunable Laser (1).pptxHajira Mahmood
21 vistas37 diapositivas

Último(20)

CXL at OCP por CXL Forum
CXL at OCPCXL at OCP
CXL at OCP
CXL Forum208 vistas
The Importance of Cybersecurity for Digital Transformation por NUS-ISS
The Importance of Cybersecurity for Digital TransformationThe Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital Transformation
NUS-ISS25 vistas
Astera Labs: Intelligent Connectivity for Cloud and AI Infrastructure por CXL Forum
Astera Labs:  Intelligent Connectivity for Cloud and AI InfrastructureAstera Labs:  Intelligent Connectivity for Cloud and AI Infrastructure
Astera Labs: Intelligent Connectivity for Cloud and AI Infrastructure
CXL Forum125 vistas
Five Things You SHOULD Know About Postman por Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman25 vistas
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy por Fwdays
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy
"Role of a CTO in software outsourcing company", Yuriy Nakonechnyy
Fwdays40 vistas
Micron CXL product and architecture update por CXL Forum
Micron CXL product and architecture updateMicron CXL product and architecture update
Micron CXL product and architecture update
CXL Forum27 vistas
Future of Learning - Khoong Chan Meng por NUS-ISS
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan Meng
NUS-ISS31 vistas
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa... por The Digital Insurer
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...
Webinar : Competing for tomorrow’s leaders – How MENA insurers can win the wa...
"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi por Fwdays
"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi
"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi
Fwdays26 vistas
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen... por NUS-ISS
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
NUS-ISS23 vistas
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum... por NUS-ISS
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
NUS-ISS28 vistas
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ... por Fwdays
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ..."Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ...
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ...
Fwdays33 vistas
MemVerge: Past Present and Future of CXL por CXL Forum
MemVerge: Past Present and Future of CXLMemVerge: Past Present and Future of CXL
MemVerge: Past Present and Future of CXL
CXL Forum110 vistas
AMD: 4th Generation EPYC CXL Demo por CXL Forum
AMD: 4th Generation EPYC CXL DemoAMD: 4th Generation EPYC CXL Demo
AMD: 4th Generation EPYC CXL Demo
CXL Forum126 vistas
Data-centric AI and the convergence of data and model engineering: opportunit... por Paolo Missier
Data-centric AI and the convergence of data and model engineering:opportunit...Data-centric AI and the convergence of data and model engineering:opportunit...
Data-centric AI and the convergence of data and model engineering: opportunit...
Paolo Missier29 vistas
"Fast Start to Building on AWS", Igor Ivaniuk por Fwdays
"Fast Start to Building on AWS", Igor Ivaniuk"Fast Start to Building on AWS", Igor Ivaniuk
"Fast Start to Building on AWS", Igor Ivaniuk
Fwdays36 vistas

Mohamed Ayman EL-Sayed ID 42020424 G4.pdf

  • 1. Medical Diagnosis Expert System Report This Project is a simple expert system for diagnosing diseases based on a set of symptoms using the experta library. It defines a Greetings class, which inherits from the KnowledgeEngine class, and takes four arguments during initialization - symptom_map, if_not_matched, get_treatments, and get_details. The class defines a set of rules for each symptom using the @Rule decorator, which checks whether the symptom is present or not and stores the user input in a Fact object. The rules are executed in order of their salience value, with lower values being executed first. If no disease matches the symptoms, the if_not_matched function is executed, which is passed as an argument during initialization. The system uses a forward chaining inference engine, which means that the rules are executed in the order in which they are defined until a conclusion is reached. Once a disease is diagnosed based on the symptoms, the corresponding disease_X rule is executed, which adds the disease name as a Fact object. The system then calls the get_treatments and get_details functions, which are passed as arguments during initialization, to retrieve the treatment and details of the diagnosed disease.