CS 514 Project 1 Report And Manual

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 5

DownloadCS 514 Project 1 Report And Manual
Open PDF In BrowserView PDF
CS 514
Applied Artificial Intelligence
Project 1

STROKE RISK ESTIMATING
EXPERT SYSTEM

Abstract:
This is a rule based expert system built on JESS that is designed to take four measures of a patient test
results and estimate the degree of chances of a stroke. The system highlights the problems or the causes
due to which it arrived to a conclusion.

Features:
The system uses the measure of the patient’s blood pressure levels, BMI, sugar levels (both fasting and
after meal) and cholesterol (total i.e. LDL and HDL combined) levels. The system takes these measures as
input. It assesses these measures to classify the degree of the probability of a stroke into the following
classes:
Extremely Low Risk: The patient is perfectly fit and all the measures are in normal range.
Considerately Low: The important measures are in normal range, but some minor measures have
abnormality.
Low Risk: Most of the important measures are in normal range except for 1-2. Minor test results are in
normal range.
Considerate Risk: Some of the measures are not in normal range and can pose a risk if not heeded to.
Moderate Risk: Fair risk of a stroke since many of the measures aren’t in normal range.
High Risk: Most of the important measure are not in normal range.
Extremely High Risk: Almost all the measures are abnormal.

Rules and descriptions:
There are total 22 rules defined in the system:
#
1
2
3

getDetails
checkBP
norBP

Rule Name

4

norBPCH

5

norBPCHS

6

norBPCHaS

7

norAllbS

8

norAll

9

nBPCHaSaBMI

10

norAllbBMI

11

norBPaCH

12

norBPaCHnS

13

norAllbCH

14

nBPnSaCHaBMI

15

norBPaCHaS

16

abnBP

17

abnBPaS

18

abnBPnS

19

abnBPnSaCH

20

abnBPnSnCH

21

abnBPnSnCHnBMI

22

abnBPnSnCHaBMI

Description
Fetches the user and measure information.
Checks the blood pressure level entered is normal/abnormal.
Checks the cholesterol level after normal blood pressure is
confirmed.
Checks sugar level after normal blood pressure and
cholesterol levels are found.
Checks the BMI after sugar, blood pressure
and cholesterol levels are found to be
normal.
Checks the BMI after blood pressure and
cholesterol levels are found to be normal,
but sugar levels are abnormal.
Displays the result when all measures are
normal but for sugar levels.
Displays the result when all measures are
normal.
Displays the result when all measures are
normal except sugar levels and BMI.
Displays the result when all measures are
normal but for BMI.
Checks sugar level after normal blood
pressure and abnormal cholesterol levels are
found.
Checks the BMI after blood pressure and sugar
levels are found to be normal, but
cholesterol levels are abnormal.
Displays the result when all measures are
normal but for cholesterol levels.
Displays the result when all measures are
normal except cholesterol levels and BMI.
Displays the result when all measures are
normal except cholesterol and sugar levels.
Checks the sugar level after abnormal blood
pressure is confirmed.
Displays the result when abnormal sugar and
blood pressure levels are confirmed.
Checks cholesterol level after abnormal blood
pressure and normal sugar levels are found.
Checks BMI after abnormal blood pressure and
cholesterol levels are found, but sugar
levels are normal.
Checks BMI after normal sugar and cholesterol
levels are found, but blood pressure level is
normal.
Displays the result when all measures are
normal but for blood pressure level.
Displays the result when all measures are
normal but for blood pressure level and BMI.

Usage Manual:
Instructions:
Copy the file StrokeRiskEstimator.clp to the BIN folder under the JESS directory.
Open JESS and execute the below commands:
(batch StrokeRiskEstimator.clp)
Enter the details.
Note:
1. Kindly enter legitimate values for the details. Most of them (except first and last name) should
be positive numbers in appropriate range.
2. Normal blood pressure  90-120
3. Normal cholesterol  <200
4. Normal BMI  18.5-24.9
5. Normal Sugar  70-99 (Fasting) and <140 (At least 2 hours after meal)

Sample Test Case:
Input values entered are shown in green in the below screenshots



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.7
Linearized                      : No
Warning                         : Info object (84 0 obj) not found at 1125605
EXIF Metadata provided by EXIF.tools

Navigation menu