Академический Документы
Профессиональный Документы
Культура Документы
Queensland
Student Details:
Peter Axon 21314601 p.axon.10@scu.edu.au
Anne McCloghry 21314999 a.mccloghry.10@scu.edu.au
Police Service
Michael Macdonald 21243831 m.macdonald.10@scu.edu.au
Entrance Expert
Study Period: Semester 1, 2007
Mode: External
Assessment Due: Wednesday, 16th May, 2007
System
Assessor Name: John Roche
Assignment 2
Student Details:
Anne McCloghry 21314999 -
A.McCloghry.10@scu.edu.au
Michael Macdonald 21243831 -
M.Macdonald.10@scu.edu.au
Peter Axon 21314601 - P.Axon.10@scu.edu.au
Table of Contents
Table of Contents............................................................................................................................. 2
1. EXPERT SYSTEM OVERVIEW............................................................................................... 3
.................................................................................................................................................3
1.1 Problem Domain.................................................................................................................... 3
1.2 Source of Expertise................................................................................................................ 4
1.3 Knowledge Engineering Process........................................................................................... 5
2. DEPENDENCY DIAGRAM AND DECISION TABLES......................................................... 7
2.1 Dependency Diagram ............................................................................................................7
2.2 Decision Tables...................................................................................................................... 9
2.2.1 Rule Set 1 – Recommendation to Selection Committee (Yes/No)................................ 9
2.2.2 Rule Set 2 – Testing (Yes / No) .................................................................................... 9
2.2.3 Rule Set 3 – Application (Yes / No) ............................................................................. 9
2.2.4 Rule Set 4 – Panel Interview (Yes / No)........................................................................ 9
2.2.5 Rule Set 5 – Physical (Yes /No).................................................................................... 9
2.2.6 Rule Set 6 – Psychometric Testing (Yes / No)............................................................ 10
2.2.7 Rule Set 7 – Employment / Education (Yes / No)....................................................... 10
2.2.8 Rule Set 8 – Licence (Yes / No).................................................................................. 10
3. RESULTS.................................................................................................................................. 11
3.1 Value Usage......................................................................................................................... 11
3.2 Knowledge Base Files..........................................................................................................13
3.2.1 Police.kb.......................................................................................................................13
3.2.2 Police2.kb.....................................................................................................................20
4. EXPERT SYSTEM EVALUATION......................................................................................... 30
5. TESTING................................................................................................................................... 31
5.1 User Input.............................................................................................................................31
5.2 Expected Test Results.......................................................................................................... 35
5.2.1 TEST 1 ......................................................................................................................... 35
5.2.2 TEST 2 ......................................................................................................................... 39
5.2.3 TEST 3 ......................................................................................................................... 44
5.2.4 TEST 4 ......................................................................................................................... 46
5.2.5 TEST 5.......................................................................................................................... 52
5.2.6 TEST 6 ......................................................................................................................... 56
5.2.7 TEST 7 ......................................................................................................................... 60
6. BIBLIOGRAPHY...................................................................................................................... 68
2
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
The Queensland Police Service (QPS) has a stringent application procedure for persons who do
not have any policing experience. The Police Services Administration Act 1990 (QLD) forms the
basis of the recruiting process to ensure that all applicants are fairly and equitably screened, that
discrimination is prevented and applicants are chosen on the basis of merit.
The selection process is conducted in three stages, all of which must be completely and
thoroughly satisfied. A brief description of the stages is as follows:
Stage1: Minimum Application Requirements must be met before submitting an
application. These include Australian or New Zealand residency, type of driver’s licence,
education level and employment details, life experience, integrity and personal conduct,
health, First Aid certificate and swimming proficiency.
Stage 2: Only after an applicant is successful in Stage 1 are they invited to undertake Stage
2 – Application Testing. This stage involves an assessment to determine suitability to become
a police officer. It involves psychometric testing, health assessment, panel interview,
integrity/conduct review and community/background enquiries. Again, progression through
to the next stage depends upon successful completion of all of these evaluations.
Stage 3: The Selection Committee is the final stage of the police recruiting process. The
committee assesses the applicants who have effectively passed the previous 2 stages and
makes a recommendation to the Manager of the Human Resources Development Branch
(HRDB). The Manager then decides whether to appoint the applicant as a recruit.
Even though there are strict criteria for moving from one stage of the recruitment process to the
next, it is stated on the web site for QPS recruitment
(http://www.police.qld.gov.au/join/recruitment/selectionProcess.htm) that
"Successful completion of all or any part of the selection process does not guarantee that
you will be selected or appointed as a police recruit. A limited number of positions are
available for each recruit intake and appointments are made on the basis of merit."
For the purpose of this report, this could be taken to mean that even though you may answer
“Yes” to a certain question, or “pass” a requirement, there are various levels of qualifying for
some of the conditions. For example, a candidate may do well in a physical examination, but if
they are exceeded by another candidate their ranking may be reduced. Similarly with the
integrity and conduct review – the scores awarded may be relative to other applicants.
Developing an expert system (ES) for this problem domain would assist the QPS committee
throughout the interview and screening processes, in all stages of assessment. The results would
then be used to inform their decision about whether to recommend an applicant to the HRDB.
Questions in all stages of the ES would result in either a “knock-out”, not to continue on to the
3
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
next stage, or a continuation on to answer further questions. The results in various tests,
examinations and questionnaires may be ranked and these could be translated into confidence
factors (CF) when answering the ES questions in the user interface. At the completion of the
analysis, the system will give a final confidence factor, which will be similar to a score. The
higher confidence factors will be awarded to those applicants who meet requirements and display
personal traits that make them desirable recruits.
The user would enter “Yes” / “No” answers for Stage 1 questions, mostly with CFs of 100
percent – residency, driver’s licence, First Aid certificate. Stages 2 and 3 would lend more
towards results with varying CFs, depending upon the more abstract assessments – integrity,
conduct, health, interviews and psychometrics. Thus, even though an applicant may extend all
the way through the 3 stages, their suitability may not be so high.
This expert system will assist in the process of screening an applicant for the process of joining
the QPS. Its intended users are members of the committee and/or management of the HRDB and
they are not expected to have any knowledge of the mechanism of the system. A simple user
interface will be designed for use within a web site and a series of questions will be asked of the
user. A confidence level will be required with each answer, from 60% confident to 100%
confident - complete certainty. The knowledge base will use pre-programmed rules to make a
decision on the applicant’s suitability and its degree. If there is a lack of information in any area
or question, the system should deem the applicant as inconsistent with its standards – the QPS
requires all conditions to be met.
In developing the knowledge base for the expert system we also contacted two people who hold
varying levels of expertise on this subject, and for the purposes of this report, are considered
“experts”.
The first expert was Constable Simon Trapp who was recently accepted into the Queensland
Police Force by undergoing the exact process that the system describes. His input was invaluable
in verifying that the stages of the procedure were accurate and in the correct order.
The second expert was Helen who is employed by the Queensland Police Service in their
recruiting section and the questions asked of her were limited to clarifying the elimination
procedure if an applicant did not meet all criteria. She also verified the fact that, despite all
criteria being met, all applicants are not automatically accepted and the final decision to
recommend is made by the panel.
4
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
The benefits of acquiring the knowledge in this manner included:
- the information was readily available and did not have to be extracted using a lengthy
interviewing process, in which it often occurs that the expert is unable to clearly
articulate their knowledge;
- any statement from the web site that gave cause to question could be verified with a
human expert who was involved in the process;
- the web site contained a vast and easily understood quantity of information;
- the knowledge is well-stored, structured and quickly recovered if lost or forgotten.
The depth of information contained on the QPS web site was actually quite sufficient for the
expert system to be built in its initial stage. The site contains a flow chart and step-by-step
processes for a potential applicant to follow.
The initial stage in the knowledge engineering process was to extract the facts from the
information in the web site. As mentioned above, the majority of the information was acquired in
this way – an authoritative and endorsed web site proved to be highly informative and less prone
to any error in extraction or translation from a human expert. The site contained several
important types of knowledge in order for the system to be developed:
- rules and procedures regarding the general problem domain; in this instance, what the
expectations were of a recruit from the Queensland Police Service;
- rules or heuristics about what should be done in a given situation; for example, what
decision to make in the interviewing process if an applicant only narrowly passed a
particular test;
The facts were then represented as a set of IF-THEN rules in the knowledge base. These are the
conditions and conclusions for all of the specific situations that the system will handle.
Confidence factors were applied to each rule as we thought an expert (or panel of experts) may
apply a rating scale to an applicant’s criteria. An example of this would be the psychometric test
where there is a range of results, not just a simple “yes / no” answer. The higher confidence
factors indicate a better result or score.
To validate the knowledge we communicated with two “experts” – a newly successful applicant
and an employee who is involved in the actual process. The experts were given the sequencing of
the system to verify that the output was accurate given various scenarios and input. Helen from
QPS was also briefly questioned to clarify some ambiguities in the final stage of the application
process. Both experts agreed that the quality and logic of the system was acceptable and that the
facts were accurate.
The final expert system was developed using e2gLite, a computer application developed by
expertise2Go, who specialise in web-enabled Expert Systems. The shell enables the developer to
5
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
build a knowledge base within the shell, which is then accessed by the inference engine during
the decision-making process.
In developing this system, we had to make a decision with regards to how much information was
given to the user at the conclusion of the system’s procedure. In many cases, the inference engine
will perform a complete “knock-out” from the system, sometimes quite early – when the
applicant has not supplied enough information or has failed a section of the process, the system
will eliminate that applicant immediately, based on the QPS recruitment standards. In order to
enable a failed applicant to determine which part was insufficient or where they needed
improvement, we developed a second expert system to continue through the process to the last
criteria. Even in the event of an unsuccessful application, the candidate would receive output
stating all of the unsatisfied conditions as reasons for rejection.
6
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
7
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
Dependency Diagram Key
Ac Australian Citizen
Ar Australian Resident
B Bachelor Degree
D Diploma
Ex Excellent
F Female
G Good
L Learners Permit
M Male
N No / None
NZv New Zealand Visa
O Other
Op Open Licence
Pr Provisional Licence
S Satisfactory
U Unsatisfactory
VG Very Good
Y Yes
8
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
First RESULTS:
Residency? Security? Swimming? Licence? Emp/ Ed? CF Rule
Aid? Application
Ac, Ar, NZv Y Y Y Y Y Yes 100 3.1
In all other cases, the Application will be No
In all
Sex?other cases, Physical
Age? will be No
Time? RESULTS: Physical CF Rule
M <30 <12 Yes 100 5.1
M >=30 & <40 <13 Yes 100 5.2
M >=40 <14 Yes 100 5.3
F <30 <14 Yes 100 5.4
F >=30 & <40 <15 Yes 100 5.5
F >=40 <16 Yes 100 5.6
9
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
Level RESULTS:
Full time Completed Completed Completed
of Employment / CF Rule
Employment? Course? Semesters? hours?
study? Education
- N,O - - - No 100 7.1
- B Y - - Yes 100 7.2
- D Y - - Yes 95 7.3
<3 D - - - No 100 7.4
<3 B - >=3 - Yes 80 7.5
>=3 and <5 B - >=2 - Yes 90 7.6
>=3 and <5 D - - >=400 Yes 85 7.7
>=5 B - >=1 - Yes 100 7.8
>=5 D - - >=200 Yes 95 7.9
In all other cases, the Employment/Education will be No @100
Defensive Driving
Licence Type? Years Driving? RESULTS: Licence CF Rule
Course?
O - N Yes 95 8.1
O - Y Yes 100 8.2
Pr >=1 Y Yes 95 8.3
In all other cases, the Licence will be No
10
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
3. RESULTS
11
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
"No" (2) rule 4 premise value of [Psych] "Yes" (3) rule 31 consequent value of [Licence]
"No" (2) rule 6 consequent value of [application] "Yes" (3) rule 31 premise value of [Defensive Driving]
"No" (2) rule 6 premise value of [Emp Ed] "Yes" (3) rule 32 consequent value of [Licence]
"No" (2) rule 6 premise value of [First Aid] "Yes" (3) rule 32 premise value of [Defensive Driving]
"No" (2) rule 6 premise value of [Licence] "Yes" (3) rule 5 consequent value of [application]
"No" (2) rule 6 premise value of [Security Clearance] "Yes" (3) rule 5 premise value of [Emp Ed]
"No" (2) rule 6 premise value of [Swimming] "Yes" (3) rule 5 premise value of [First Aid]
"None" (4) prompt 11 value of [Licence Type] "Yes" (3) rule 5 premise value of [Licence]
"None" (4) prompt 7 value of [Study level] "Yes" (3) rule 5 premise value of [Security Clearance]
"None" (4) rule 21 premise value of [Study level] "Yes" (3) rule 5 premise value of [Swimming]
"Open Licence" (12) prompt 11 value of [Licence Type] "Yes" (3) rule 7 consequent value of [Panel]
"Open Licence" (12) rule 30 premise value of [Licence Type] "Yes" (3) rule 8 consequent value of [Panel]
"Open Licence" (12) rule 31 premise value of [Licence Type] "Yes" (3) rule 9 consequent value of [Panel]
*** KNOWLEDGE BASE ANALYSIS ***
12
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
3.2.1 Police.kb
REM QLD Police Entrance ES
REM This system is designed to determine an applicant's suitability to join the QLD Police Force
REM This is the simple version of the ES where any unsatisfactory answer will stop the ES
REM ***************************************************************************
REM * Rules 1.1 to 1.2 - Rules to establish Final Recommendation
REM ***************************************************************************
RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"
RULE [1.2]
if [Application received] = "No" Or
[Testing] = "No" Or
[application] = "No" Or
[Final Approval] = "No"
Then [Recommend] = "No - Not all requirements to join have been met."
REM ***************************************************************************
REM * Rules 2.1 to 2.2 - Rules to establish Testing criteria
REM ***************************************************************************
RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
[Panel] = "Yes"
Then [Testing] = "Yes"
RULE [2.2]
if [Psych] = "No" or
[Medical] = "No" or
[Physical] = "No" or
[Panel] = "No"
Then [Testing] = "No"
13
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REM ***************************************************************************
REM * Rules 3.1 to 3.2 - Rules to establish Application criteria
REM ***************************************************************************
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand citizen holding a special
category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[Licence] = "Yes" and
[Emp Ed] = "Yes"
Then [Application] = "Yes"
RULE [3.2]
if [Residency] = "Other" Or
[Security Clearance] = "No" Or
[First Aid] = "No" Or
[Swimming] = "No" Or
[Licence] = "No" Or
[Emp Ed] = "No"
Then [Application] = "No"
REM ***************************************************************************
REM * Rules 4.1 to 4.4 - Rules to establish Panel interview criteria
REM ***************************************************************************
RULE [4.1]
If [Panel Interview] = "Satisfactory"
Then [Panel] = "Yes" @70
RULE [4.2]
If [Panel Interview] = "Good"
Then [Panel] = "Yes" @80
RULE [4.3]
If [Panel Interview] = "Very Good"
Then [Panel] = "Yes" @90
RULE [4.4]
If [Panel Interview] = "Excellent"
Then [Panel] = "Yes" @100
REM ***************************************************************************
REM * Rules 5.1 to 5.6 - Rules to establish Physical Assessment criteria
REM ***************************************************************************
RULE [5.1]
If [Sex] = "Male" and
14
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
[Age] < 30 and
[Time] < 12
then [Physical] = "Yes"
RULE [5.2]
If [Sex] = "Male" and
[Age] > 29.999 and
[Age] < 40 and
[Time] < 13
then [Physical] = "Yes"
RULE [5.3]
If [Sex] = "Male" and
[Age] > 39.999 and
[Time] < 14
then [Physical] = "Yes"
RULE [5.4]
If [Sex] = "Female" and
[Age] < 30 and
[Time] < 14
then [Physical] = "Yes"
RULE [5.5]
If [Sex] = "Female" and
[Age] > 29.999 and
[Age] < 40 and
[Time] < 15
then [Physical] = "Yes"
RULE [5.6]
If [Sex] = "Female" and
[Age] > 39.999 and
[Time] < 16
then [Physical] = "Yes"
REM ***************************************************************************
REM * Rules 6.1 to 6.4 - Rules to establish Psych testing criteria
REM ***************************************************************************
RULE [6.1]
If [Psych Test] = "Satisfactory"
Then [Psych] = "Yes" @70
RULE [6.2]
If [Psych Test] = "Good"
Then [Psych] = "Yes" @80
RULE [6.3]
If [Psych Test] = "Very Good"
Then [Psych] = "Yes" @90
RULE [6.4]
If [Psych Test] = "Excellent"
15
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
Then [Psych] = "Yes" @100
REM ***************************************************************************
REM * Rules 7.1 to 7.9 - Rules to establish Employment/Education criteria
REM ***************************************************************************
RULE [7.1]
If [Study level] : "None" "Other"
then [Emp Ed] = "No"
RULE [7.2]
If [Study level] = "Bachelor Degree" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes"
RULE [7.3]
If [Study level] = "Diploma" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes" @95
RULE [7.4]
If [Employment Years] <3 and
[Study level] = "Diploma" and
[Study Completed] = "No"
then [Emp Ed] = "No"
RULE [7.5]
If [Employment Years] < 3 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 2.999
then [Emp Ed] = "Yes" @80
RULE [7.6]
If [Employment Years] > 2.999 and
[Employment Years] < 5 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 1.999
then [Emp Ed] = "Yes" @90
RULE [7.7]
If [Employment Years] > 2.999 and
[Employment Years] < 5 and
[Study level] = "Diploma" and
[Completed Hours] > 399.999
then [Emp Ed] = "Yes" @85
RULE [7.8]
If [Employment Years] > 4.999 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 0.999
then [Emp Ed] = "Yes"
RULE [7.9]
If [Employment Years] > 4.999 and
16
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
[Study level] = "Diploma" and
[Completed Hours] > 199.999
then [Emp Ed] = "Yes" @95
REM ***************************************************************************
REM * Rules 8.1 to 8.3 - Rules to establish Licence criteria
REM ***************************************************************************
RULE [8.1]
If [Licence Type] = "Open Licence" and
[Defensive Driving] = "No"
then [Licence] = "Yes" @95
RULE [8.2]
If [Licence Type] = "Open Licence" and
[Defensive Driving] = "Yes"
then [Licence] = "Yes" @100
RULE [8.3]
If [Licence Type] = "Provisional Licence" and
[Years Driving] > 0.999 and
[Defensive Driving] = "Yes"
then [Licence] = "Yes"
REM ***************************************************************************
REM * Prompts for user input
REM ***************************************************************************
17
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
PROMPT [Study Level] MultChoice CF
"What Level of Tertiary study has the applicant completed/are currently studying?"
"Bachelor Degree"
"Diploma"
"Other"
"None"
18
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
PROMPT [Sex] MultChoice CF
"Please select the applicant's Gender?"
"Male"
"Female"
REM ***************************************************************************
REM * Default values
REM ***************************************************************************
REM *** The following default values are to cater for the user selecting ***
REM *** I dont know ***
REM ***************************************************************************
REM * Translate Commands
REM ***************************************************************************
19
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
TRANSLATE TR_VALUE = ""
TRANSLATE TR_OF = ". "
TRANSLATE B_SUBMIT = "Submit response"
REM ***************************************************************************
REM * Goal and Min Confidence values
REM ***************************************************************************
MAXVALS [Application] 1
MAXVALS [Testing] 1
GOAL [Recommend]
MINCF [1]
REM ***************************************************************************
REM * End of code
REM ***************************************************************************
3.2.2 Police2.kb
REM QLD Police Entrance ES
REM This system is designed to determine an applicant's suitability to join the QLD Police Force
REM This is the Alternate version of the ES where all unsatisfactory answers are reported to the user
REM ***************************************************************************
REM * Rules 1.1 to 1.13 - Rules to establish Final Recommendation
REM ***************************************************************************
RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"
RULE [1.2]
If [Application received] = "No"
Then [Recommend] = "No - Application not received or completed correctly."
RULE [1.3]
20
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
If [Application] = "No - Residency Not Met"
Then [Recommend] = "No - Residency Not Met"
RULE [1.4]
if [Application] = "No - Security Clearance concerns"
Then [Recommend] = "No - Security Clearance concerns"
RULE [1.5]
if [Application] = "No - First Aid Certificate Required"
Then [Recommend] = "No - First Aid Certificate Required"
RULE [1.6]
if [Application] = "No - swimming proficiency test failed or not complete"
Then [Recommend] = "No - swimming proficiency test failed or not complete"
RULE [1.7]
if [Application] = "No - Licence requirements not met"
Then [Recommend] = "No - Licence requirements not met"
RULE [1.8]
if [Application] = "No - Employment / Education requirements not met"
Then [Recommend] = "No - Employment / Education requirements not met"
RULE [1.9]
if [Testing] = "No - Failed Psych Testing"
Then [Recommend] = "No - Failed Psych Testing"
RULE [1.10]
if [Testing] = "No - Failed Medical Testing"
Then [Recommend] = "No - Failed Medical Testing"
RULE [1.11]
if [Testing] = "No - Failed Physical Testing"
Then [Recommend] = "No - Failed Physical Testing"
RULE [1.12]
if [Testing] = "No - Failed Panel Interview"
Then [Recommend] = "No - Failed Panel Interview"
RULE [1.13]
if [Final Approval] = "No"
Then [Recommend] = "No - The selection committee has not recommended you."
REM ***************************************************************************
REM * Rules 2.1 to 1.4 - Rules to establish Testing criteria
REM ***************************************************************************
RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
21
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
[Panel] = "Yes"
Then [Testing] = "Yes"
RULE [2.2]
if [Psych] = "Unsatisfactory"
Then [Testing] = "No - Failed Psych Testing"
RULE [2.3]
if [Medical] = "No"
Then [Testing] = "No - Failed Medical Testing"
RULE [2.4]
if [Physical] = "No"
Then [Testing] = "No - Failed Physical Testing"
RULE [2.5]
if [Panel] = "No"
Then [Testing] = "No - Failed Panel Interview"
REM ***************************************************************************
REM * Rules 3.1 to 3.7 - Rules to establish Application criteria
REM ***************************************************************************
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand citizen holding a special
category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[Licence] = "Yes" and
[Emp Ed] = "Yes"
Then [Application] = "Yes"
RULE [3.2]
if [Residency] = "Other"
Then [Application] = "No - Residency Not Met"
RULE [3.3]
if [Security Clearance] = "No"
Then [Application] = "No - Security Clearance concerns"
RULE [3.4]
if [First Aid] = "No"
Then [Application] = "No - First Aid Certificate Required"
RULE [3.5]
if [Swimming] = "No"
Then [Application] = "No - swimming proficiency test failed or not complete"
RULE [3.6]
if [Licence] = "No"
Then [Application] = "No - Licence requirements not met"
22
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
RULE [3.7]
if [Emp Ed] = "No"
Then [Application] = "No - Employment / Education requirements not met"
REM ***************************************************************************
REM * Rules 4.1 to 4.4 - Rules to establish Panel interview criteria
REM ***************************************************************************
RULE [4.1]
If [Panel Interview] = "Satisfactory"
Then [Panel] = "Yes" @70
RULE [4.2]
If [Panel Interview] = "Good"
Then [Panel] = "Yes" @80
RULE [4.3]
If [Panel Interview] = "Very Good"
Then [Panel] = "Yes" @90
RULE [4.4]
If [Panel Interview] = "Excellent"
Then [Panel] = "Yes" @100
REM ***************************************************************************
REM * Rules 5.1 to 5.6 - Rules to establish Physical Assessment criteria
REM ***************************************************************************
RULE [5.1]
If [Sex] = "Male" and
[Age] < 30 and
[Time] < 12
then [Physical] = "Yes"
RULE [5.2]
If [Sex] = "Male" and
[Age] > 29.999 and
[Age] < 40 and
[Time] < 13
then [Physical] = "Yes"
RULE [5.3]
If [Sex] = "Male" and
[Age] > 39.999 and
[Time] < 14
then [Physical] = "Yes"
RULE [5.4]
23
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
If [Sex] = "Female" and
[Age] < 30 and
[Time] < 14
then [Physical] = "Yes"
RULE [5.5]
If [Sex] = "Female" and
[Age] > 29.999 and
[Age] < 40 and
[Time] < 15
then [Physical] = "Yes"
RULE [5.6]
If [Sex] = "Female" and
[Age] > 39.999 and
[Time] < 16
then [Physical] = "Yes"
REM ***************************************************************************
REM * Rules 6.1 to 6.4 - Rules to establish Psych testing criteria
REM ***************************************************************************
RULE [6.1]
If [Psych Test] = "Satisfactory"
Then [Psych] = "Yes" @70
RULE [6.2]
If [Psych Test] = "Good"
Then [Psych] = "Yes" @80
RULE [6.3]
If [Psych Test] = "Very Good"
Then [Psych] = "Yes" @90
RULE [6.4]
If [Psych Test] = "Excellent"
Then [Psych] = "Yes" @100
REM ***************************************************************************
REM * Rules 7.1 to 7.9 - Rules to establish Employment/Education criteria
REM ***************************************************************************
RULE [7.1]
If [Study level] : "None" "Other"
then [Emp Ed] = "No"
RULE [7.2]
If [Study level] = "Bachelor Degree" and
[Study Completed] = "Yes"
24
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
then [Emp Ed] = "Yes"
RULE [7.3]
If [Study level] = "Diploma" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes" @95
RULE [7.4]
If [Employment Years] <3 and
[Study level] = "Diploma" and
[Study Completed] = "No"
then [Emp Ed] = "No"
RULE [7.5]
If [Employment Years] < 3 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 2.999
then [Emp Ed] = "Yes" @80
RULE [7.6]
If [Employment Years] > 2.999 and
[Employment Years] < 5 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 1.999
then [Emp Ed] = "Yes" @90
RULE [7.7]
If [Employment Years] > 2.999 and
[Employment Years] < 5 and
[Study level] = "Diploma" and
[Completed Hours] > 399.999
then [Emp Ed] = "Yes" @85
RULE [7.8]
If [Employment Years] > 4.999 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 0.999
then [Emp Ed] = "Yes"
RULE [7.9]
If [Employment Years] > 4.999 and
[Study level] = "Diploma" and
[Completed Hours] > 199.999
then [Emp Ed] = "Yes" @95
REM ***************************************************************************
REM * Rules 8.1 to 8.3 - Rules to establish Licence criteria
REM ***************************************************************************
RULE [8.1]
If [Licence Type] = "Open Licence" and
25
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
[Defensive Driving] = "No"
then [Licence] = "Yes" @95
RULE [8.2]
If [Licence Type] = "Open Licence" and
[Defensive Driving] = "Yes"
then [Licence] = "Yes" @100
RULE [8.3]
If [Licence Type] = "Provisional Licence" and
[Years Driving] > 0.999 and
[Defensive Driving] = "Yes"
then [Licence] = "Yes"
REM ***************************************************************************
REM * Prompts for user input
REM ***************************************************************************
26
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
27
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
"How old is the applicant, in years (18-60)?"
"18"
"60"
REM ***************************************************************************
REM * Default values
REM ***************************************************************************
REM *** The following default values are to cater for the user selecting "I dont know"
REM ***************************************************************************
REM * Translate Commands
REM ***************************************************************************
28
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
TRANSLATE B_SUBMIT = "Submit response"
REM ***************************************************************************
REM * Goal and Min Confidence values
REM ***************************************************************************
MAXVALS [Application] 6
MAXVALS [Testing] 4
MAXVALS [Recommend] 12
GOAL [Recommend]
MINCF [1]
REM ***************************************************************************
REM * End of code
REM ***************************************************************************
29
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
The prototype system developed to this stage has a number of attributes that would make it
beneficial for use in the recruitment process of the Queensland Police Service.
The dual-system feature allows for better communication between would-be recruits and the
selection panel. Each unsuccessful applicant could be presented with a list of reasons why they
were eliminated, which enables both a positive dismissal and a chance for improvement should
they wish to re-apply.
The information contained in the knowledge base enables recruiters to immediately assess an
applicant’s suitability given the system input. The system is portable, accurate and easy to use
for novice and expert users alike.
The problems that we foresee in the current prototype are based on any changes that would need
to be made to the expert system. These changes would occur if the application process of the
Queensland Police Service were to alter in some way. The existing rules would need to be
adapted to accommodate a changed selection process and some would need to be re-ordered to
allow for different dependencies on other criteria
30
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
5. TESTING
The following prompts will be asked of the user within the expert system and the possible
answers or value ranges are shown:
31
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
"60"
32
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
“I Don’t Know (Use Defaults)”
The following default values are to cater for the user selecting I don’t know
33
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
DEFAULT [Swimming] = "No"
DEFAULT [Testing] = "No"
DEFAULT [Time] = 25
DEFAULT [Final Approval] = "No"
34
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
5.2.1 TEST 1
This test is for an excellent applicant.
Expected Result
RULE [8.2]
If [License Type] = "Open Licence" and
[Defensive Driving] = "Yes"
then [License] = "Yes" @100
RULE [7.2]
If [Study level] = "Bachelor Degree" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes"
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand
citizen holding a special category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[Licence] = "Yes" and
[Emp Ed] = "Yes"
35
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
Then [Application] = "Yes"
RULE [6.4]
If [Psych Test] = "Excellent"
Then [Psych] = "Yes" @100
RULE [5.1]
If [Sex] = "Male" and
[Age] < 30 and
[Time] < 12
then [Physical] = "Yes
RULE [4.4]
If [Panel Interview] = "Excellent"
Then [Panel] = "Yes" @100
RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
[Panel] = "Yes"
Then [Testing] = "Yes"
RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"
Actual Result
Recommend = “Yes” CF = 100%
E2GLite Output
(condensed to show only the output where a rule or prompt has been assigned or fired True)
36
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): Security Clearance
TRYING RULE: 3.1
>Add to goal stack: First Aid
>Rule status after evaluation is: Unknown
37
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>Rule status after evaluation is: Unknown
38
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): Panel Interview
FORWARD CHAIN: Panel=Yes (100.0%)
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
REMOVE FROM GOAL STACK (Resolved): Panel
FORWARD CHAIN: Testing=Yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
5.2.2 TEST 2
This test is for a poor applicant, aimed at testing the Testing section (rule set 2).
Expected Result
RULE [8.3]
If [Licence Type] = "Provisional Licence" and
[Years Driving] > 0.999 and
[Defensive Driving] = "Yes"
then [Licence] = "Yes"
RULE [7.3]
If [Study level] = "Diploma" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes" @95
39
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand
citizen holding a special category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[Licence] = "Yes" and
[Emp Ed] = "Yes"
Then [Application] = "Yes"
RULE [6.1]
If [Psych Test] = "Satisfactory"
Then [Psych] = "Yes" @70
No rule fires in rule set 5 default assigned to Physical = “No”
RULE [2.2]
if [Psych] = "No" or
[Medical] = "No" or
[Physical] = "No" or
[Panel] = "No"
Then [Testing] = "No"
RULE [1.2]
if [Application received] = "No" Or
[Testing] = "No" Or
[application] = "No" Or
[Final Approval] = "No"
Then [Recommend] = "No - Not all requirements to join have been met."
Actual Result
Recommend = “No” CF = 100%
E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown
40
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: First Aid=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown
41
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): application
TRYING RULE: 1.1
>Add to goal stack: Testing
>Rule status after evaluation is: Unknown
TRYING RULE: 2.1
>Add to goal stack: Psych
>Rule status after evaluation is: Unknown
TRYING RULE: 6.1
>Add to goal stack: Psych Test
>Rule status after evaluation is: Unknown
42
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
GOAL STACK EMPTY: END CONSULTATION
43
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
5.2.3 TEST 3
This test is for a poor applicant, aimed at testing the Employment/Education
section (rule set 7).
Expected Result
RULE [8.1]
If [Licence Type] = "Open Licence" and
[Defensive Driving] = "No"
then [Licence] = "Yes" @95
RULE [7.1]
If [Study level] : "None" "Other"
then [Emp Ed] = "No"
RULE [3.2]
if [Residency] = "Other" Or
[Security Clearance] = "No" Or
[First Aid] = "No" Or
[Swimming] = "No" Or
[Licence] = "No" Or
[Emp Ed] = "No"
Then [Application] = "No"
RULE [1.2]
if [Application received] = "No" Or
[Testing] = "No" Or
[application] = "No" Or
[Final Approval] = "No"
Then [Recommend] = "No - Not all requirements to join have been met."
So Recommend = “No” @100
Actual Result
Recommend = “No” CF = 100%
E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown
44
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: Application received=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
45
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Not all requirements to join have been met.
(100.0%)
FORWARD CHAIN: Recommend=No - Not all requirements to join have been met.
(100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.3
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.4
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.6
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.7
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.8
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 7.9
>Rule status after evaluation is: False/Failed
5.2.4 TEST 4
This test is for an average applicant, it also tests various confidence factors.
Expected Result
RULE [8.2]
If [License Type] = "Open License" and
[Defensive Driving] = "Yes"
then [License] = "Yes" @95
46
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
RULE [7.8]
If [Employment Years] > 4.999 and
[Study level] = "Bachelor Degree" and
[Completed Semesters] > 0.999
then [Emp Ed] = "Yes"@90
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand
citizen holding a special category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[License] = "Yes" and
[Emp Ed] = "Yes"
Then [Application] = "Yes" @68.4 - CF's for License (95), Emp Ed (90),
Residency
Security, First Aid and Swimming (80) combined – 0.95 x 0.9 x 0.8 = 0.684
RULE [6.3]
If [Psych Test] = "Very Good"
Then [Psych] = "Yes" @90
RULE [5.4]
If [Sex] = "Female" and
[Age] < 30 and
[Time] < 14
then [Physical] = "Yes"
RULE [4.3]
If [Panel Interview] = "Very Good"
Then [Panel] = "Yes" @90
RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
[Panel] = "Yes"
Then [Testing] = "Yes" ” @81 - CF's for Psych (90), Physical, Panel (90)
and Medical combined – 0.9 x 0.9 = 0.81
RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"
Combining CF's for Testing and Application gives 0.684 * 0.81 = 0.55404
So Recommend = “Yes” @55.404
Actual Result
Recommend = “Yes” CF = 55.404%
E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown
47
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
PROMPT FOR: Application received
*Prompt assigned: Application received=yes (100.0%)
FORWARD CHAIN: Application received=yes (100.0%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
48
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: Study Completed=no (100.0%)
>Forward chain - trying rule: 7.2
>Rule status after evaluation is: False/Failed
49
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>Forward chain - trying rule: 5.5
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 5.6
>Rule status after evaluation is: False/Failed
50
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
51
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
5.2.5 TEST 5
This test is for another average applicant, it further tests various confidence
factors.
Expected Result
RULE [8.2]
If [License Type] = "Open License" and
[Defensive Driving] = "Yes"
then [License] = "Yes" @95
RULE [7.3]
If [Study level] = "Diploma" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes" @95
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand
citizen holding a special category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[License] = "Yes" and
[Emp Ed] = "Yes"
Then [Application] = "Yes" @81.225
Residency, Security, First Aid (90) and Swimming combined – 0.95 x 0.95 x 0.90 = 0.81225
RULE [6.2]
If [Psych Test] = "Good"
Then [Psych] = "Yes" @80
RULE [5.4]
If [Sex] = "Female" and
[Age] < 30 and
[Time] < 14
then [Physical] = "Yes"
52
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
RULE [4.2]
If [Panel Interview] = "Good"
Then [Panel] = "Yes" @80
RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
[Panel] = "Yes"
Then [Testing] = "Yes" @64
CF's for Psych (80), Physical, Panel (80) and Medical combined – 0.8 x 0.8 = 0.64
RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"
Combining CF's for Testing and Application gives 0.81225 * 0.64 = 0.51984
So Recommend = “Yes” @51.984
Actual Result
Recommend = “Yes” CF = 51.983997%
E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown
53
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): Swimming
TRYING RULE: 3.1
>Add to goal stack: License
>Rule status after evaluation is: Unknown
TRYING RULE: 8.1
>Add to goal stack: License Type
>Rule status after evaluation is: Unknown
54
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: Psych=Yes (80.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
55
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=Yes (51.983997%)
FORWARD CHAIN: Recommend=Yes (51.983997%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
5.2.6 TEST 6
This test is for another average applicant, it further tests various confidence
factors.
Expected Result
RULE [8.3]
If [Licence Type] = "Provisional Licence" and
[Years Driving] > 0.999 and
[Defensive Driving] = "Yes"
then [Licence] = "Yes" @90
RULE [7.2]
If [Study level] = "Bachelor Degree" and
[Study Completed] = "Yes"
then [Emp Ed] = "Yes"
RULE [3.1]
if [Residency] : "Australian Citizen" "Australian Resident" "New Zealand
citizen holding a special category visa" and
[Security Clearance] = "Yes" and
[First Aid] = "Yes" and
[Swimming] = "Yes" and
[Licence] = "Yes" and
56
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
[Emp Ed] = "Yes"
Then [Application] = "Yes" @64.8
CF's for License (90), Emp Ed, Residency, Security, First Aid (90) and Swimming (80) combined
0.9 x 0.9 x 0.8 = 0.648
RULE [6.1]
If [Psych Test] = "Satisfactory"
Then [Psych] = "Yes" @70
RULE [5.2]
If [Sex] = "Male" and
[Age] > 29.999 and
[Age] < 40 and
[Time] < 13
then [Physical] = "Yes" @70
RULE [4.2]
If [Panel Interview] = "Good"
Then [Panel] = "Yes" @80
RULE [2.1]
if [Psych] = "Yes" and
[Medical] = "Yes" and
[Physical] = "Yes" and
[Panel] = "Yes"
Then [Testing] = "Yes" @35.28 –
CF's for Psych (70), Physical (70), Panel (80) and Medical (90) combined –
0.7 x 0.7 x 0.8 x 0.9 = 0.3528
RULE [1.1]
if [Application received] = "Yes" and
[application] = "Yes" and
[Testing] = "Yes" and
[Final Approval] = "Yes"
Then [Recommend] = "Yes"
Combining CF's for Testing and Application gives 0.648 * 0.3528 = 0.2286144
So Recommend = “Yes” @22.86144
Actual Result
Recommend = “Yes” CF = 22.86144%
E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown
57
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
*Prompt assigned: Security Clearance=yes (100.0%)
FORWARD CHAIN: Security Clearance=yes (100.0%)
>Forward chain - trying rule: 3.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown
58
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
*Rule assigned: application=Yes (64.8%)
FORWARD CHAIN: application=Yes (64.8%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 3.2
>Rule status after evaluation is: Unknown
59
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
>Forward chain - trying rule: 4.2
>Rule status after evaluation is: True/Fired
*Rule assigned: Panel=Yes (80.0%)
FORWARD CHAIN: Panel=Yes (80.0%)
>Forward chain - trying rule: 2.1
>Rule status after evaluation is: True/Fired
*Rule assigned: Testing=Yes (35.28%)
FORWARD CHAIN: Testing=Yes (35.28%)
>Forward chain - trying rule: 1.1
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 2.2
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.3
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 4.4
>Rule status after evaluation is: Unknown
5.2.7 TEST 7
This test is used to check the Alternative ES for all negative responses
Expected Result
60
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
RULE [1.2]
If [Application received] = "No"
Then [Recommend] = "No - Application not received or completed
correctly."
RULE [1.3]
If [Application] = "No - Residency Not Met"
Then [Recommend] = "No - Residency Not Met"
RULE [1.4]
if [Application] = "No - Security Clearance concerns"
Then [Recommend] = "No - Security Clearance concerns"
RULE [1.5]
if [Application] = "No - First Aid Certificate Required"
Then [Recommend] = "No - First Aid Certificate Required"
RULE [1.6]
if [Application] = "No - swimming proficiency test failed or not
complete"
Then [Recommend] = "No - swimming proficiency test failed or not
complete"
RULE [1.7]
if [Application] = "No - License requirements not met"
Then [Recommend] = "No - License requirements not met"
RULE [1.8]
if [Application] = "No - Employment / Education requirements not met"
Then [Recommend] = "No - Employment / Education requirements not met"
RULE [1.9]
if [Testing] = "No - Failed Psych Testing"
Then [Recommend] = "No - Failed Psych Testing"
RULE [1.10]
if [Testing] = "No - Failed Medical Testing"
Then [Recommend] = "No - Failed Medical Testing"
RULE [1.11]
if [Testing] = "No - Failed Physical Testing"
Then [Recommend] = "No - Failed Physical Testing
RULE [1.12]
if [Testing] = "No - Failed Panel Interview"
Then [Recommend] = "No - Failed Panel Interview"
RULE [1.13]
if [Final Approval] = "No"
Then [Recommend] = "No - The selection committee has not recommended
you."
Actual Result
Recommend = “No - Application not received or completed correctly.”
Recommend = “No - Residency Not Met.”
Recommend = “No - Security Clearance concerns.”
Recommend = “No - First Aid Certificate Required.”
Recommend = “No - swimming proficiency test failed or not complete.”
Recommend = “No - License requirements not met.”
Recommend = “No - Employment / Education requirements not met.”
Recommend = “No - Failed Psych Testing.”
61
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
Recommend = “No - Failed Medical Testing.”
Recommend = “No - Failed Physical Testing.”
Recommend = “No - Failed Panel Interview.”
Recommend = “No - The selection committee has not recommended you.”
E2GLite Output
STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):
>Recommend
Minimum confidence factor for accepting a value as a fact: 1.0%
TRYING RULE: 1.1
>Add to goal stack: Application received
>Rule status after evaluation is: Unknown
62
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: application=No - Security Clearance concerns (100.0%)
>Forward chain - trying rule: 1.4
>Rule status after evaluation is: True/Fired
*Rule assigned: Recommend=No - Security Clearance concerns (100.0%)
FORWARD CHAIN: Recommend=No - Security Clearance concerns (100.0%)
>No eligible rules for: Recommend
>Forward chain - trying rule: 1.5
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.6
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.7
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.8
>Rule status after evaluation is: Unknown
63
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
FORWARD CHAIN: License Type=Learners Permit (100.0%)
>Forward chain - trying rule: 8.1
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 8.2
>Rule status after evaluation is: False/Failed
>Forward chain - trying rule: 8.3
>Rule status after evaluation is: False/Failed
64
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - First Aid Certificate Required (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - swimming proficiency test failed or not
complete (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - License requirements not met (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - Employment / Education requirements not met
(100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
TRYING RULE: 1.9
>Add to goal stack: Testing
>Rule status after evaluation is: Unknown
TRYING RULE: 2.1
>Add to goal stack: Psych
>Rule status after evaluation is: Unknown
TRYING RULE: 6.1
>Add to goal stack: Psych Test
>Rule status after evaluation is: Unknown
65
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): Medical
FORWARD CHAIN: Testing=No - Failed Medical Testing (100.0%)
>Forward chain - trying rule: 1.11
>Rule status after evaluation is: Unknown
>Forward chain - trying rule: 1.12
>Rule status after evaluation is: Unknown
66
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
REMOVE FROM GOAL STACK (Resolved): Panel
FORWARD CHAIN: Testing=No - Failed Panel Interview (100.0%)
>No eligible rules for: Testing
REMOVE FROM GOAL STACK (Resolved): Testing
FORWARD CHAIN: Recommend=No - Failed Psych Testing (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - Failed Medical Testing (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - Failed Physical Testing (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
FORWARD CHAIN: Recommend=No - Failed Panel Interview (100.0%)
>No eligible rules for: Recommend
REMOVE FROM GOAL STACK (Resolved): Recommend
REPLACE ON GOAL STACK: Recommend
TRYING RULE: 1.13
>Add to goal stack: Final Approval
>Rule status after evaluation is: Unknown
67
Queensland Police Service - Expert System
Peter Axon, Michael Macdonald, Anne McCloghry
6. BIBLIOGRAPHY
Turban, E., Aronson, J., Liang, T-P (2005) Decision Support Systems and Intelligent Systems
Pearson Education Inc.
68