2. Nesma Mahmoud Saad Eddin
Nada Hassan Naem
Basma Gamal El-serafy
Hanan Sabery Hamed
Menna Talla Mamdouh Saoud
Subervised by
Dr. Heba Elbeh
Team Members
12/8/2015DRS 2
3. 1. What is DRS?
2. Why is DRS?
3. System Architecture & Components
4. Diabetes Diagnosis (using DM)
5. Drug & Diet Recommendation (using SW)
6. How DRS Works
7. DRS Tools & Techniques
Agenda
12/8/2015DRS 3
4. DRS (Diabetes recommender system) is a web-
based recommendation system for diabetes. It provides
diagnosis for diabetes, recommends diabetics drugs,
recommends and advice diabetes.
1.What is DRS?
12/8/2015DRS 4
5. DRS is based on Data Mining and Semantic Web techniques
provides more accuracy in results.
DRS provides more than one service (diabetes diagnosis, drug
recommendation, diet recommendation)
DRS maintain personalization for users(pateints).
Diabetes is one of the most chronic diseases in recent years.
The number of drugs increased the number of patients increased.
2. Why DRS?
12/8/2015DRS 5
9. Data Collection & Preprocessing
- Diabetes Database from UCI Machine Learning .
- It Contains 768 record samples records with 8 attributes
(e.g., age, number of pregnant, Plasma Glucose test, etc.)
- Pre-processing replacing missing values, convert
numeric values to nominal, discretize attributes.
Model Building technique
- We use decision tree for data mining classification.
- we use J48 Classifier for building the
model(Implementation of Decision tree).
Evaluation & Deployment
- Accuracy of the classifier is about 75.78%.
Data Mining Steps
12/8/2015DRS 9
10. J48 Classifier is training and testing the preprocessed diabetics
data set.
Producing a model in the form of tree and we use this model in
our DRS system for Diagnosing new users (diabetic or not)
The resulting classification
tree model:
Classifier Model Building
12/8/2015DRS 10
12. Evolving extension of WWW in which web content :
- Can be expressed not only in natural language.
- But also can be understood, interpreted and used by software
agents.
- Permitting software agents to find, share and integrate
information easily.
The idea of having data on the Web
- Defined and linked in such a way.
- Can be used by machines not only for display purposes, but
for automation, integration and reuse of data across various
applications
Semantic Web (SW)
12/8/2015DRS 12
14. • Why Ontologies are important
- Ontological analysis clarifies the structure of knowledge.
- Ontologies enable knowledge sharing.
• Ontology Definition:
Formal , explicit specification of a shared conceptualization
Ontology
Machine
readable
Concepts, properties,
functions, axioms
are explicitly defined
Consensual
knowledge
Abstract model of
some phenomena
in the world
12/8/2015DRS 14
15. Ontology Main Components
Ontology (cont.)
Person Country
Class (concept)
Animal
Individual (instance)
Belgium
Paraguay
China
Latvia
Elvis
Hai
Holger
Kylie
S.Claus
Rudolph
Flipper arrow = relationship
label = Property
12/8/2015DRS 15
17. Anti-diabetic drugs ontology (an ontology that
maintain ant-diabetic drugs).
Patient tests ontology ( an ontology that maintain
diabetes tests).
Diabetes food ontology (an ontology that maintain all
foods for diabetics diet).
Personal Patient Information ( ontology for patients’
personal and medical information)
DRS Ontologies
12/8/2015DRS 17
18. • Define Scope: anti-diabetics drugs ontology for drug
recommendation for diabetics Patients in DRS system.
• Data Gathering & Consider reuse: reusing drugs ontology,
collecting data from internet and asking specialists.
• Enumerate Terms: List all nouns and verbs used in the
domain like (drug, drugs classes, drugs names, has
consideration, has dose time, etc.)
• Define Classes: nouns become classes in the ontology.
Anti Diabetic Drugs Ontology
12/8/2015DRS 18
19. • Define classes hierarchy: define classes in taxonomic
(subclass) hierarchy.
Anti Diabetic Drugs Ontology(cont.)
12/8/2015DRS 19
20. • Define Properties: define relationships .
• Data property: link individual to individual.
• Object property: link individual to literal.
Anti Diabetic Drugs Ontology(cont.)
12/8/2015DRS 20
21. • Define Scope: represents diabetics patient tests and used
for drug recommendation with the drug ontology in DRS
system.
• Data Gathering & Consider reuse: reusing patients tests
ontology, collecting data from internet and asking
specialists.
• Enumerate Terms: List all nouns and verbs used in the
domain like (test, test name, test classes, has normal has
level, etc.).
• Define Classes: nouns become classes in the ontology.
Patient Tests Ontology
12/8/2015DRS 21
23. • Define Scope: represents foods that allowed for diabetic
patients and knowledge about foods and used for diet
recommendation in DRS system.
• Data Gathering & Consider reuse: reusing foods ontology,
collecting data from internet and asking specialists.
• Enumerate Terms: List all nouns and verbs used in the
domain like (test, test name, test classes, has normal has
level, etc.).
• Define Classes: nouns become classes in the ontology.
Diabetes Foods Ontology
12/8/2015DRS 23
25. • Define Properties: define relationships .
• Data property: link individual to individual.
• Object property: link individual to literal.
Diabetes Foods Ontology (cont.)
12/8/2015DRS 25
26. • Define Scope: represents all patient information from
personal information to drug and diet information that use
to manage in DRS system.
• Data Gathering & Consider reuse: reusing ontology
personal ontologies and gathering all data needed for a
patients.
• Enumerate Terms: List all nouns and verbs used in the
domain like (patient name, age , allowed calories, etc.)
• Define Classes: nouns become classes in the ontology.
Patient Information Ontology
12/8/2015DRS 26
27. Define classes hierarchy: define classes in taxonomic
(subclass) hierarchy.
Patient Information Ontology
12/8/2015DRS 27
28. SWRL Semantic Web Rule Language
SWRL is a rule language for semantic web
All rules are expressed in terms of OWL concepts (classes,
properties, individuals).
Rule Example:
We use in writing the diabetes medication rules.
SWRL for Medication Rules
12/8/2015DRS 28
29. We used the SWRL in DRS to represent the relationship
between diabetics important tests and suitable drugs.
Diabetics medication rules:
12/8/2015DRS 29
SWRL for Medication Rules
31. DRS Diabetes Diagnosis
Users
User Interface
Form
Weka API
1.Get user
information
2. Load Model
3. Classify User
4. Return Result
back to user
Classifier
Model
- Stored in
DRSLoading
model
Submit
Check
result
Passing
user
data
Model
Result
12/8/2015DRS 31
32. DRS Drug recommendation
Protégé API
12/8/2015DRS 32
Jess
Engine
Patient input
Recommended
Drug or patient
Diabetics
Users
Submit
Bridge
Drugs Ontology
Patients
Tests ontology
SWRL
Medication
Rules
Loading
33. DRS Diet Recommendation
12/8/2015DRS 33
Diabetics
Users
SQWRL
Queries
Foods Ontology
Patients Informa
Ontology
Protégé API
Jess
Engine
Recommended
Personal meal
Bridge
LoadingFavorite Foods
& Personal
Information