mccloghry.axon.macdonald isy10056 ass2

Upload: bao-tran

Post on 30-May-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    1/68

    Unit Code: ISY10056Unit Title: Intelligent Decision Systems

    Student Details:

    Peter Axon 21314601 [email protected] McCloghry 21314999 [email protected]

    Michael Macdonald 21243831 [email protected]

    Study Period: Semester 1, 2007Mode: External

    Assessment Due: Wednesday, 16 th May, 2007Assessor Name: John Roche

    Submitted: Wednesday, 16 th May, 2007

    Qu eensland

    Police ServiceEntrance ExpertSystem

    Intelligent Decision Systems(ISY10056)

    Assignment 2

    Tutor: John Roche

    Student Details:Anne McCloghry 21314999 [email protected] Macdonald 21243831 [email protected] Peter Axon 21314601 - [email protected]

    Due Date: 16 May 2007Submitted: 16 May 2007

    2007

    mailto:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    2/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    Table of Contents

    Table of Contents ............................................................................................................................. 21. EXPERT SYSTEM OVERVIEW ............................................................................................... 3

    ................................................................................................................................................. 31.1 Problem Domain .................................................................................................................... 31.2 Source of Expertise ................................................................................................................ 41.3 Knowledge Engineering Process ........................................................................................... 5

    2. DEPENDENCY DIAGRAM AND DECISION TABLES ......................................................... 72.1 Dependency Diagram ............................................................................................................ 72.2 Decision Tables ...................................................................................................................... 9

    2.2.1 Rule Set 1 Recommendation to Selection Committee (Yes/No) ................................ 92.2.2 Rule Set 2 Testing (Yes / No) .................................................................................... 92.2.3 Rule Set 3 Application (Yes / No) ............................................................................. 92.2.4 Rule Set 4 Panel Interview (Yes / No) ........................................................................ 92.2.5 Rule Set 5 Physical (Yes /No) .................................................................................... 92.2.6 Rule Set 6 Psychometric Testing (Yes / No) ............................................................ 102.2.7 Rule Set 7 Employment / Education (Yes / No) ....................................................... 102.2.8 Rule Set 8 Licence (Yes / No) .................................................................................. 10

    3. RESULTS .................................................................................................................................. 113.1 Value Usage ......................................................................................................................... 113.2 Knowledge Base Files .......................................................................................................... 13

    3.2.1 Police.kb ....................................................................................................................... 13

    3.2.2 Police2.kb ..................................................................................................................... 204. EXPERT SYSTEM EVALUATION ......................................................................................... 305. TESTING ................................................................................................................................... 31

    5.1 User Input ............................................................................................................................. 315.2 Expected Test Results .......................................................................................................... 35

    5.2.1 TEST 1 ......................................................................................................................... 355.2.2 TEST 2 ......................................................................................................................... 395.2.3 TEST 3 ......................................................................................................................... 445.2.4 TEST 4 ......................................................................................................................... 465.2.5 TEST 5 .......................................................................................................................... 525.2.6 TEST 6 ......................................................................................................................... 565.2.7 TEST 7 ......................................................................................................................... 60

    6. BIBLIOGRAPHY ...................................................................................................................... 68

    2

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    3/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    1. EXPERT SYSTEM OVERVIEW

    1.1 Problem Domain

    The Queensland Police Service (QPS) has a stringent application procedure for persons who donot have any policing experience. The Police Services Administration Act 1990 (QLD) forms thebasis of the recruiting process to ensure that all applicants are fairly and equitably screened, thatdiscrimination 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 andthoroughly satisfied. A brief description of the stages is as follows:

    Stage1: Minimum Application Requirements must be met before submitting anapplication. These include Australian or New Zealand residency, type of drivers 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 Stage2 Application Testing. This stage involves an assessment to determine suitability to becomea police officer. It involves psychometric testing, health assessment, panel interview,integrity/conduct review and community/background enquiries. Again, progression throughto 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. Thecommittee assesses the applicants who have effectively passed the previous 2 stages andmakes 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 thenext, 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 areavailable 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 answerYes to a certain question, or pass a requirement, there are various levels of qualifying forsome 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 theintegrity 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 committeethroughout the interview and screening processes, in all stages of assessment. The results wouldthen 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

    http://www.police.qld.gov.au/join/recruitment/selectionProcess/stageThree.htmhttp://www.police.qld.gov.au/join/recruitment/selectionProcess/stageThree.htm
  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    4/68

    Queensland Police Service - Expert SystemPeter 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 confidencefactors (CF) when answering the ES questions in the user interface. At the completion of theanalysis, the system will give a final confidence factor, which will be similar to a score. Thehigher confidence factors will be awarded to those applicants who meet requirements and displaypersonal traits that make them desirable recruits.

    The user would enter Yes / No answers for Stage 1 questions, mostly with CFs of 100percent residency, drivers licence, First Aid certificate. Stages 2 and 3 would lend moretowards results with varying CFs, depending upon the more abstract assessments integrity,conduct, health, interviews and psychometrics. Thus, even though an applicant may extend allthe 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 joiningthe 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 userinterface will be designed for use within a web site and a series of questions will be asked of theuser. 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 adecision on the applicants suitability and its degree. If there is a lack of information in any areaor question, the system should deem the applicant as inconsistent with its standards the QPSrequires all conditions to be met.

    1.2 Source of Expertise

    The web site for the Queensland Police Service ( http://www.police.qld.gov.au/join/recruitment/ )details the entire process for an applicant to join.

    In developing the knowledge base for the expert system we also contacted two people who holdvarying levels of expertise on this subject, and for the purposes of this report, are consideredexperts.

    The first expert was Constable Simon Trapp who was recently accepted into the QueenslandPolice 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 theirrecruiting section and the questions asked of her were limited to clarifying the eliminationprocedure if an applicant did not meet all criteria. She also verified the fact that, despite allcriteria being met, all applicants are not automatically accepted and the final decision torecommend is made by the panel.

    4

    http://www.police.qld.gov.au/join/recruitment/http://www.police.qld.gov.au/join/recruitment/
  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    5/68

    Queensland Police Service - Expert SystemPeter 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 clearlyarticulate their knowledge;

    - any statement from the web site that gave cause to question could be verified with ahuman 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.

    1.3 Knowledge Engineering Process

    The depth of information contained on the QPS web site was actually quite sufficient for theexpert system to be built in its initial stage. The site contains a flow chart and step-by-stepprocesses for a potential applicant to follow.

    The initial stage in the knowledge engineering process was to extract the facts from theinformation in the web site. As mentioned above, the majority of the information was acquired inthis way an authoritative and endorsed web site proved to be highly informative and less proneto any error in extraction or translation from a human expert. The site contained severalimportant types of knowledge in order for the system to be developed:

    - rules and procedures regarding the general problem domain; in this instance, what theexpectations were of a recruit from the Queensland Police Service;

    - rules or heuristics about what should be done in a given situation; for example, whatdecision 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 theconditions 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) mayapply a rating scale to an applicants criteria. An example of this would be the psychometric testwhere there is a range of results, not just a simple yes / no answer. The higher confidencefactors 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 fromQPS was also briefly questioned to clarify some ambiguities in the final stage of the applicationprocess. Both experts agreed that the quality and logic of the system was acceptable and that thefacts were accurate.

    The final expert system was developed using e2gLite , a computer application developed byexpertise2Go , who specialise in web-enabled Expert Systems. The shell enables the developer to

    5

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    6/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    build a knowledge base within the shell, which is then accessed by the inference engine duringthe decision-making process.

    In developing this system, we had to make a decision with regards to how much information wasgiven to the user at the conclusion of the systems procedure. In many cases, the inference enginewill perform a complete knock-out from the system, sometimes quite early when theapplicant has not supplied enough information or has failed a section of the process, the systemwill eliminate that applicant immediately, based on the QPS recruitment standards. In order toenable a failed applicant to determine which part was insufficient or where they neededimprovement, we developed a second expert system to continue through the process to the lastcriteria. Even in the event of an unsuccessful application, the candidate would receive outputstating all of the unsatisfied conditions as reasons for rejection.

    6

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    7/68

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    8/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    Dependency Diagram Key

    Ac Australian CitizenAr Australian ResidentB Bachelor DegreeD DiplomaEx ExcellentF FemaleG GoodL Learners PermitM Male

    N No / None NZv New Zealand VisaO Other Op Open Licence

    Pr Provisional LicenceS SatisfactoryU UnsatisfactoryVG Very GoodY Yes

    8

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    9/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    2.2 Decision Tables

    2.2.1 Rule Set 1 Recommendation to Selection Committee(Yes/No)

    ApplicationReceived?

    Applicationcriteria?

    TestingCriteria?

    RESULTS: Selection CF Rule

    Y Y Y Yes 100 1.1In all other cases, the Selection will be No

    2.2.2 Rule Set 2 Testing (Yes / No)

    In all other cases, Testing will be No

    2.2.3 Rule Set 3 Application (Yes / No)

    Residency? Security?FirstAid?

    Swimming? Licence? Emp/ Ed?RESULTS:Application

    CF Rule

    Ac, Ar, NZv Y Y Y Y Y Yes 100 3.1In all other cases, the Application will be No

    2.2.4 Rule Set 4 Panel Interview (Yes / No)

    Panel? RESULTS: Panel Interview CF RuleS Yes 70 4.1G Yes 80 4.2

    Vg Yes 90 4.3Ex Yes 100 4.4

    In all other cases, Panel Interview will be No

    2.2.5 Rule Set 5 Physical (Yes /No)

    In all other cases, Physical will be No

    PsychPassed?

    MedicalPassed?

    PhysicalPassed?

    PanelInterview?

    RESULTS: Testing CF Rule

    Y Y Y Y Yes 100 2.1

    Sex? Age? Time? RESULTS: Physical CF RuleM

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    10/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    2.2.6 Rule Set 6 Psychometric Testing (Yes / No)

    Psych? RESULTS: Psychometric Testing CF RuleS Yes 70 6.1G Yes 80 6.2

    Vg Yes 90 6.3Ex Yes 100 6.4

    In all other cases, Psychometric Testing will be No

    2.2.7 Rule Set 7 Employment / Education (Yes / No)

    In all other cases, the Employment/Education will be No @100

    2.2.8 Rule Set 8 Licence (Yes / No)

    In all other cases, the Licence will be No

    Full timeEmployment?

    Level

    of study?

    CompletedCourse?

    CompletedSemesters?

    Completedhours?

    RESULTS:

    Employment / Education

    CF Rule

    - N,O - - - No 100 7.1- B Y - - Yes 100 7.2- D Y - - Yes 95 7.3

    =3 and =2 - Yes 90 7.6>=3 and =400 Yes 85 7.7

    >=5 B - >=1 - Yes 100 7.8

    >=5 D - - >=200 Yes 95 7.9

    Licence Type? Years Driving?Defensive Driving

    Course?RESULTS: Licence CF Rule

    O - N Yes 95 8.1O - Y Yes 100 8.2Pr >=1 Y Yes 95 8.3

    10

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    11/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    3. RESULTS

    3.1 Value Usage

    VALUE USAGE - Look for similar strings that should be identical:

    "Australian Citizen" (18) prompt 2 value of [Residency]"Australian Citizen" (18) rule 5 premise value of [Residency]"Australian Resident" (19) prompt 2 value of [Residency]"Bachelor Degree" (15) prompt 7 value of [Study level]"Bachelor Degree" (15) rule 22 premise value of [Study level]"Bachelor Degree" (15) rule 25 premise value of [Study level]"Bachelor Degree" (15) rule 26 premise value of [Study level]"Bachelor Degree" (15) rule 28 premise value of [Study level]"Diploma" (7) prompt 7 value of [Study level]"Diploma" (7) rule 23 premise value of [Study level]"Diploma" (7) rule 24 premise value of [Study level]

    "Diploma" (7) rule 27 premise value of [Study level]"Diploma" (7) rule 29 premise value of [Study level]"Excellent" (9) prompt 14 value of [Psych Test]"Excellent" (9) prompt 16 value of [Panel Interview]"Excellent" (9) rule 10 premise value of [Panel Interview]"Excellent" (9) rule 20 premise value of [Psych Test]"Female" (6) prompt 17 value of [Sex]"Female" (6) rule 14 premise value of [Sex]"Female" (6) rule 15 premise value of [Sex]"Female" (6) rule 16 premise value of [Sex]"Good" (4) prompt 14 value of [Psych Test]"Good" (4) prompt 16 value of [Panel Interview]"Good" (4) rule 18 premise value of [Psych Test]"Good" (4) rule 8 premise value of [Panel Interview]"Learners Permit" (15) prompt 11 value of [Licence Type]"Male" (4) prompt 17 value of [Sex]"Male" (4) rule 11 premise value of [Sex]"Male" (4) rule 12 premise value of [Sex]"Male" (4) rule 13 premise value of [Sex]"New Zealand citizen holding a special category visa" (51)

    prompt 2 value of [Residency]"No - Not all requirements to join have been met." (48) rule 2consequent value of [Recommend]"No" (2) prompt 13 value of [Defensive Driving]"No" (2) rule 2 premise value of [Application received]"No" (2) rule 2 premise value of [application]"No" (2) rule 2 premise value of [Final Approval]"No" (2) rule 2 premise value of [Testing]"No" (2) rule 21 consequent value of [Emp Ed]"No" (2) rule 24 consequent value of [Emp Ed]"No" (2) rule 24 premise value of [Study Completed]"No" (2) rule 30 premise value of [Defensive Driving]"No" (2) rule 4 consequent value of [Testing]"No" (2) rule 4 premise value of [Medical]"No" (2) rule 4 premise value of [Panel]"No" (2) rule 4 premise value of [Physical]

    "Other" (5) prompt 2 value of [Residency]"Other" (5) prompt 7 value of [Study level]"Other" (5) rule 6 premise value of [Residency]"Provisional Licence" (19) prompt 11 value of [Licence Type]"Provisional Licence" (19) rule 32 premise value of [Licence Type]"Satisfactory" (12) prompt 14 value of [Psych Test]"Satisfactory" (12) prompt 16 value of [Panel Interview]"Satisfactory" (12) rule 17 premise value of [Psych Test]"Satisfactory" (12) rule 7 premise value of [Panel Interview]"Unsatisfactory" (14) prompt 14 value of [Psych Test]"Unsatisfactory" (14) prompt 16 value of [Panel Interview]

    "Very Good" (9) prompt 14 value of [Psych Test]"Very Good" (9) prompt 16 value of [Panel Interview]"Very Good" (9) rule 19 premise value of [Psych Test]"Very Good" (9) rule 9 premise value of [Panel Interview]"Yes" (3) prompt 13 value of [Defensive Driving]"Yes" (3) rule 1 consequent value of [Recommend]"Yes" (3) rule 1 premise value of [Application received]"Yes" (3) rule 1 premise value of [application]"Yes" (3) rule 1 premise value of [Final Approval]"Yes" (3) rule 1 premise value of [Testing]"Yes" (3) rule 10 consequent value of [Panel]"Yes" (3) rule 11 consequent value of [Physical]"Yes" (3) rule 12 consequent value of [Physical]"Yes" (3) rule 13 consequent value of [Physical]"Yes" (3) rule 14 consequent value of [Physical]"Yes" (3) rule 15 consequent value of [Physical]"Yes" (3) rule 16 consequent value of [Physical]"Yes" (3) rule 17 consequent value of [Psych]"Yes" (3) rule 18 consequent value of [Psych]"Yes" (3) rule 19 consequent value of [Psych]"Yes" (3) rule 20 consequent value of [Psych]"Yes" (3) rule 22 consequent value of [Emp Ed]"Yes" (3) rule 22 premise value of [Study Completed]"Yes" (3) rule 23 consequent value of [Emp Ed]"Yes" (3) rule 23 premise value of [Study Completed]"Yes" (3) rule 25 consequent value of [Emp Ed]"Yes" (3) rule 26 consequent value of [Emp Ed]"Yes" (3) rule 27 consequent value of [Emp Ed]"Yes" (3) rule 28 consequent value of [Emp Ed]"Yes" (3) rule 29 consequent value of [Emp Ed]"Yes" (3) rule 3 consequent value of [Testing]"Yes" (3) rule 3 premise value of [Medical]"Yes" (3) rule 3 premise value of [Panel]"Yes" (3) rule 3 premise value of [Physical]"Yes" (3) rule 3 premise value of [Psych]"Yes" (3) rule 30 consequent value of [Licence]

    11

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    12/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    "No" (2) rule 4 premise value of [Psych]"No" (2) rule 6 consequent value of [application]"No" (2) rule 6 premise value of [Emp Ed]"No" (2) rule 6 premise value of [First Aid]"No" (2) rule 6 premise value of [Licence]"No" (2) rule 6 premise value of [Security Clearance]

    "No" (2) rule 6 premise value of [Swimming]"None" (4) prompt 11 value of [Licence Type]"None" (4) prompt 7 value of [Study level]"None" (4) rule 21 premise value of [Study level]"Open Licence" (12) prompt 11 value of [Licence Type]"Open Licence" (12) rule 30 premise value of [Licence Type]"Open Licence" (12) rule 31 premise value of [Licence Type]

    "Yes" (3) rule 31 consequent value of [Licence]"Yes" (3) rule 31 premise value of [Defensive Driving]"Yes" (3) rule 32 consequent value of [Licence]"Yes" (3) rule 32 premise value of [Defensive Driving]"Yes" (3) rule 5 consequent value of [application]"Yes" (3) rule 5 premise value of [Emp Ed]

    "Yes" (3) rule 5 premise value of [First Aid]"Yes" (3) rule 5 premise value of [Licence]"Yes" (3) rule 5 premise value of [Security Clearance]"Yes" (3) rule 5 premise value of [Swimming]"Yes" (3) rule 7 consequent value of [Panel]"Yes" (3) rule 8 consequent value of [Panel]"Yes" (3) rule 9 consequent value of [Panel]*** KNOWLEDGE BASE ANALYSIS ***

    12

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    13/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    3.2 Knowledge Base Files

    3.2.1 Police.kbREM QLD Police Entrance ESREM This system is designed to determine an applicant's suitability to join the QLD Police ForceREM This is the simple version of the ES where any unsatisfactory answer will stop the ES

    REM Created by: Michael Macdonald 21243831 [email protected] Anne McCloghry 21314999 [email protected] Peter Axon 21314601 [email protected]

    REM Date Created: 25 April 2007REM Unit Name: Intelligent Decision Systems - ISY10056REM Assignment: 2007 Assignment 2

    REM ***************************************************************************REM * Rules 1.1 to 1.2 - Rules to establish Final RecommendationREM ***************************************************************************

    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 criteriaREM ***************************************************************************

    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

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    14/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    REM ***************************************************************************REM * Rules 3.1 to 3.2 - Rules to establish Application criteriaREM ***************************************************************************

    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 criteriaREM ***************************************************************************

    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 criteriaREM ***************************************************************************

    RULE [5.1]If [Sex] = "Male" and

    14

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    15/68

    Queensland Police Service - Expert SystemPeter 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 criteriaREM ***************************************************************************

    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

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    16/68

    Queensland Police Service - Expert SystemPeter 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] 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

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    17/68

    Queensland Police Service - Expert SystemPeter 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 criteriaREM ***************************************************************************

    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 inputREM ***************************************************************************

    PROMPT [Application received] yesno CF"Has the application been received and completed correctly?"

    PROMPT [Residency] MultChoice CF"What is the applicant's current residency status?""Australian Citizen""Australian Resident""New Zealand citizen holding a special category visa""Other"

    PROMPT [Security Clearance] yesno CF"Has the Security clearance been received without any issues?"

    PROMPT [First Aid] yesno CF

    "Has a Senior First Aid Certificate been provided?"

    PROMPT [Swimming] yesno CF"Has the applicant passed the swimming proficiency test?"

    PROMPT [Employment Years] Numeric CF"How many years of full time employment has the applicant had (0-60)?""0""60"

    17

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    18/68

    Queensland Police Service - Expert SystemPeter 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"

    PROMPT [Study Completed] yesno CF"has the applicant completed the Diploma/Degree?"

    PROMPT [Completed Semesters] Numeric CF"How many semesters of fulltime equivalent study has been completed (0-24)?""0""24"

    PROMPT [Completed Hours] Numeric CF"How many hours has the applicant completed for your Diploma (0-1000)?""0""1000"

    PROMPT [Licence Type] MultChoice CF"What type of drivers licence does the applicant hold?""Open Licence""Provisional Licence""Learners Permit""None"

    PROMPT [Years Driving] Numeric CF"How many years driving experience does the applicant have (0 - 60)?""0""60"

    PROMPT [Defensive Driving] MultChoice CF"Has the applicant completed a Defensive Driving course?""Yes""No"

    PROMPT [Psych Test] MultChoice"What was the applicant's Psychometric assessment rating?""Excellent""Very Good""Good""Satisfactory""Unsatisfactory"

    PROMPT [Medical] yesno CF

    "Has the applicant passed the Medical Examination?"

    PROMPT [Panel Interview] MultChoice"What was the applicant's Panel Interview rating?""Excellent""Very Good""Good""Satisfactory""Unsatisfactory"

    18

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    19/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    PROMPT [Sex] MultChoice CF"Please select the applicant's Gender?""Male""Female"

    PROMPT [Age] Numeric CF

    "How old is the applicant, in years (18-60)?""18""60"

    PROMPT [Time] Numeric CF"What time was achieved in the 2.4 kilometre run, in minutes (5-25)?""5""25"

    PROMPT [Final Approval] yesno CF"Has the Selection Committee given their final recommendation to HR?"

    REM ***************************************************************************REM * Default valuesREM ***************************************************************************

    DEFAULT [Application] = "No"DEFAULT [Physical] = "No"DEFAULT [Emp Ed] = "No"DEFAULT [Licence] = "No"

    REM *** The following default values are to cater for the user selecting ***REM *** I dont know ***

    DEFAULT [Application received] = "No"DEFAULT [Residency] = "Other"DEFAULT [Licence Type] = "None"DEFAULT [Employment Years] = 0DEFAULT [First Aid] = "No"DEFAULT [Medical] = "No"DEFAULT [Panel] = "No"DEFAULT [Psych] = "Unsatisfactory"DEFAULT [Security Clearance] = "No"DEFAULT [Study level] = "None"DEFAULT [Swimming] = "No"DEFAULT [Testing] = "No"DEFAULT [Time] = 25DEFAULT [Final Approval] = "No"

    REM ***************************************************************************REM * Translate CommandsREM ***************************************************************************

    TRANSLATE TR_RESULTS = "Applicant's suitability to join QLD Police:"TRANSLATE TR_NORESP = "I Don't Know (Use Defaults)"TRANSLATE TR_HOWCONF = "How confident are you of your response?"TRANSLATE TR_ISRESULT = ":"

    19

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    20/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    TRANSLATE TR_VALUE = ""TRANSLATE TR_OF = ". "TRANSLATE B_SUBMIT = "Submit response"

    REM ***************************************************************************

    REM * Goal and Min Confidence valuesREM ***************************************************************************

    MAXVALS [Application] 1MAXVALS [Testing] 1

    GOAL [Recommend]MINCF [1]

    REM ***************************************************************************REM * End of codeREM ***************************************************************************

    3.2.2 Police2.kbREM QLD Police Entrance ESREM This system is designed to determine an applicant's suitability to join the QLD Police ForceREM This is the Alternate version of the ES where all unsatisfactory answers are reported to the user

    REM Created by: Michael Macdonald 21243831 [email protected] Anne McCloghry 21314999 [email protected] Peter Axon 21314601 [email protected]

    REM Date Created: 25 April 2007REM Unit Name: Intelligent Decision Systems - ISY10056REM Assignment: 2007 Assignment 2

    REM ***************************************************************************REM * Rules 1.1 to 1.13 - Rules to establish Final RecommendationREM ***************************************************************************

    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

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    21/68

    Queensland Police Service - Expert SystemPeter 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 criteriaREM ***************************************************************************

    RULE [2.1]if [Psych] = "Yes" and

    [Medical] = "Yes" and[Physical] = "Yes" and

    21

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    22/68

    Queensland Police Service - Expert SystemPeter 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 criteriaREM ***************************************************************************

    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

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    23/68

    Queensland Police Service - Expert SystemPeter 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 criteriaREM ***************************************************************************

    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 criteriaREM ***************************************************************************

    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

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    24/68

    Queensland Police Service - Expert SystemPeter 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 criteriaREM ***************************************************************************

    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

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    25/68

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    26/68

    Queensland Police Service - Expert SystemPeter 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 inputREM ***************************************************************************

    PROMPT [Application received] yesno CF"Has the application been received and completed correctly?"

    PROMPT [Residency] MultChoice CF"What is the applicant's current residency status?""Australian Citizen""Australian Resident""New Zealand citizen holding a special category visa""Other"

    PROMPT [Security Clearance] yesno CF"Has the Security clearance been received without any issues?"

    PROMPT [First Aid] yesno CF"Has a Senior First Aid Certificate been provided?"

    PROMPT [Swimming] yesno CF"Has the applicant passed the swimming proficiency test?"

    PROMPT [Employment Years] Numeric CF"How many years of full time employment has the applicant had (0-60)?""0""60"

    PROMPT [Study Level] MultChoice CF"What Level of Tertiary study has the applicant completed/is currently studying?""Bachelor Degree""Diploma""Other""None"

    PROMPT [Study Completed] yesno CF"has the applicant completed the Diploma/Degree?"

    26

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    27/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    PROMPT [Completed Semesters] Numeric CF"How many semesters of fulltime equivalent study has been completed (0-24)?""0""24"

    PROMPT [Completed Hours] Numeric CF"How many hours has the applicant completed for your Diploma (0-1000)?""0""1000"

    PROMPT [Licence Type] MultChoice CF"What type of drivers licence does the applicant hold?""Open Licence""Provisional Licence""Learners Permit""None"

    PROMPT [Years Driving] Numeric CF"How many years driving experience does the applicant have (0 - 60)?""0""60"

    PROMPT [Defensive Driving] MultChoice CF"Has the applicant completed a Defensive Driving course?""Yes""No"

    PROMPT [Psych Test] MultChoice"What was the applicant's Psychometric assessment rating?""Excellent""Very Good""Good""Satisfactory""Unsatisfactory"

    PROMPT [Medical] yesno CF"Has the applicant passed the Medical Examination?"

    PROMPT [Panel Interview] MultChoice"What was the applicant's Panel Interview rating?""Excellent""Very Good""Good"

    "Satisfactory""Unsatisfactory"

    PROMPT [Sex] MultChoice CF"Please select the applicant's Gender?""Male""Female"

    PROMPT [Age] Numeric CF

    27

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    28/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    "How old is the applicant, in years (18-60)?""18""60"

    PROMPT [Time] Numeric CF"What time was achieved in the 2.4 kilometre run, in minutes (5-25)?"

    "5""25"

    PROMPT [Final Approval] yesno CF"Has the Selection Committee given their final recommendation to HR?"

    REM ***************************************************************************REM * Default valuesREM ***************************************************************************

    DEFAULT [Application] = "No"DEFAULT [Physical] = "No"DEFAULT [Emp Ed] = "No"DEFAULT [Licence] = "No"

    REM *** The following default values are to cater for the user selecting "I dont know"

    DEFAULT [Application received] = "No"DEFAULT [Residency] = "Other"DEFAULT [Licence Type] = "None"DEFAULT [Employment Years] = 0DEFAULT [First Aid] = "No"DEFAULT [Medical] = "No"DEFAULT [Panel] = "No"DEFAULT [Psych] = "Unsatisfactory"DEFAULT [Security Clearance] = "No"DEFAULT [Study level] = "None"DEFAULT [Swimming] = "No"DEFAULT [Testing] = "No"DEFAULT [Time] = 25DEFAULT [Final Approval] = "No"

    REM ***************************************************************************

    REM * Translate CommandsREM ***************************************************************************

    TRANSLATE TR_RESULTS = "Applicant's suitability to join QLD Police:"TRANSLATE TR_NORESP = "I Don't Know (Use Defaults)"TRANSLATE TR_HOWCONF = "How confident are you of your response?"TRANSLATE TR_ISRESULT = ":"TRANSLATE TR_VALUE = ""TRANSLATE TR_OF = ". "

    28

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    29/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    TRANSLATE B_SUBMIT = "Submit response"

    REM ***************************************************************************REM * Goal and Min Confidence valuesREM ***************************************************************************

    MAXVALS [Application] 6MAXVALS [Testing] 4MAXVALS [Recommend] 12

    GOAL [Recommend]MINCF [1]

    REM ***************************************************************************REM * End of codeREM ***************************************************************************

    29

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    30/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    4. EXPERT SYSTEM EVALUATION

    The prototype system developed to this stage has a number of attributes that would make itbeneficial for use in the recruitment process of the Queensland Police Service.

    The dual-system feature allows for better communication between would-be recruits and theselection panel. Each unsuccessful applicant could be presented with a list of reasons why theywere eliminated, which enables both a positive dismissal and a chance for improvement shouldthey wish to re-apply.

    The information contained in the knowledge base enables recruiters to immediately assess anapplicants suitability given the system input. The system is portable, accurate and easy to usefor novice and expert users alike.

    The problems that we foresee in the current prototype are based on any changes that would needto be made to the expert system. These changes would occur if the application process of theQueensland Police Service were to alter in some way. The existing rules would need to beadapted to accommodate a changed selection process and some would need to be re-ordered toallow for different dependencies on other criteria

    30

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    31/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    5. TESTING

    5.1 User Input

    The following prompts will be asked of the user within the expert system and the possibleanswers or value ranges are shown:

    PROMPT [Application received] YesNo CF"Has the application been received and completed correctly?"

    "yes""no""I Dont Know (Use Defaults)"

    PROMPT [Residency] Multchoice CF"What is the applicants current residency status?"

    "Australian Citizen"

    "Australian Resident"New Zealand citizen holding a special category visaOtherI Dont Know (Use Defaults)

    PROMPT [security clearance] YesNo CFHas the security clearance been received without any issues?"

    "yes""no"I Dont Know (Use Defaults)

    PROMPT [First Aid] YesNo CF"Has a senior First Aid certificate been provided?"

    "yes""no"I Dont Know (Use Defaults)

    PROMPT [swimming] YesNo CF"Has the applicant passed the swimming proficiency test?"

    "yes""no"I Dont Know (Use Defaults)

    PROMPT [Licence Type] MultChoice CF"What type of drivers licence does the applicant hold?"

    "Open Licence""Provisional Licence""Learners Permit""None"I Dont Know (Use Defaults)

    PROMPT [Years Driving] Numeric CF"How many years driving experience does the applicant have (0 - 60)?"

    "0"

    31

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    32/68

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    33/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    I Dont Know (Use Defaults)

    PROMPT [Sex] MultChoice CF"Please select the applicant's Gender?"

    "Male""Female"

    PROMPT [Age] Numeric CF"How old is the applicant, in years (18-60)?"

    "18""60"

    PROMPT [Time] Numeric CF"What time was achieved in the 2.4 kilometre run, in minutes (5-25)?"

    "5""25"

    PROMPT [Panel Interview] MultChoice"What was the applicant's Panel Interview rating?"

    "Excellent""Very Good""Good""Satisfactory""Unsatisfactory"I Dont Know (Use Defaults)

    PROMPT [Final Approval] YesNo CF"Has the Selection Committee given their final recommendation to HR?"

    yesnoI Dont Know (Use Defaults)

    The default values of the variables are as follows:

    DEFAULT [Application] = "No"DEFAULT [Physical] = "No"DEFAULT [Emp Ed] = "No"DEFAULT [Licence] = "No"

    The following default values are to cater for the user selecting I dont know

    DEFAULT [Application received] = "No"DEFAULT [Residency] = "Other"DEFAULT [Licence Type] = "None"DEFAULT [Employment Years] = 0DEFAULT [First Aid] = "No"DEFAULT [Medical] = "No"DEFAULT [Panel] = "No"DEFAULT [Psych] = "Unsatisfactory"DEFAULT [Security Clearance] = "No"DEFAULT [Study level] = "None"

    33

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    34/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    DEFAULT [Swimming] = "No"DEFAULT [Testing] = "No"DEFAULT [Time] = 25DEFAULT [Final Approval] = "No"

    34

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    35/68

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    36/68

    Queensland Police Service - Expert SystemPeter 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] < 12then [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)

    STARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):>RecommendMinimum confidence factor for accepting a value as a fact: 1.0%TRYINGRULE:1.1>Addtogoal stack:Applicationreceived>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Application received*Prompt assigned: Application received=yes (100.0%)FORWARD CHAIN: Application received=yes (100.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:1.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Application receivedTRYINGRULE:1.1>Addtogoal stack:application>Rulestatusafterevaluationis:UnknownTRYINGRULE:3.1>Addtogoal stack:Residency>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Residency*Prompt assigned: Residency=Australian Citizen (100.0%)FORWARD CHAIN: Residency=Australian Citizen (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): ResidencyTRYINGRULE:3.1>Addtogoal stack:SecurityClearance>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Security Clearance*Prompt assigned: Security Clearance=yes (100.0%)FORWARD CHAIN: Security Clearance=yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    36

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    37/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    REMOVE FROM GOAL STACK (Resolved): Security ClearanceTRYINGRULE:3.1>Addtogoal stack:FirstAid>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: First Aid*Prompt assigned: First Aid=yes (100.0%)FORWARD CHAIN: First Aid=yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:UnknownREMOVEFROMGOALSTACK (Resolved):FirstAidTRYINGRULE:3.1>Addtogoal stack:Swimming>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Swimming*Prompt assigned: Swimming=yes (100.0%)FORWARD CHAIN: Swimming=yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): SwimmingTRYINGRULE:3.1>Addtogoal stack:License>Rulestatusafterevaluationis:UnknownTRYINGRULE:8.1>Addtogoal stack:LicenseType>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: License Type*Prompt assigned: Licence Type=Open License (100.0%)FORWARD CHAIN: License Type=Open License (100.0%)>Forwardchain-trying rule:8.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:8.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:8.3>Rulestatusafterevaluationis:False/Failed

    REMOVE FROM GOAL STACK (Resolved): License TypeTRYINGRULE:8.1>Addtogoal stack:DefensiveDriving>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Defensive Driving

    *Prompt assigned: Defensive Driving=Yes (100.0%)FORWARD CHAIN: Defensive Driving=Yes (100.0%)>Forwardchain-trying rule:8.1>Rulestatusafterevaluationis:False/Failed

    >Forward chain - trying rule: 8.2>Rule status after evaluation is: True/Fired *Rule assigned: License=Yes (100.0%)FORWARD CHAIN: License=Yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Defensive DrivingFORWARD CHAIN: License=Yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): LicenseTRYINGRULE:3.1> A d d t o g o al s t a c k : E m p E d>Rulestatusafterevaluationis:UnknownTRYINGRULE:7.1>Addtogoal stack:Studylevel>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Study level*Prompt assigned: Study level=Bachelor Degree (100.0%)FORWARD CHAIN: Study level=Bachelor Degree (100.0%)>Forwardchain-trying rule:7.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:7.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:7.3>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.4>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.5>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:7.6>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:7.7>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.8>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:7.9>Rulestatusafterevaluationis:False/Failed

    REMOVE FROM GOAL STACK (Resolved): Study levelTRYINGRULE:7.1>Rulestatusafterevaluationis:FailedTRYINGRULE:7.2>Addtogoal stack:StudyCompleted>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Study Completed*Prompt assigned: Study Completed=yes (100.0%)FORWARD CHAIN: Study Completed=yes (100.0%)>Forward chain - trying rule: 7.2>Rule status after evaluation is: True/Fired *Rule assigned: Emp Ed=Yes (100.0%)FORWARD CHAIN: Emp Ed=Yes (100.0%)>Forward chain - trying rule: 3.1

    >Rule status after evaluation is: True/Fired *Rule assigned: application=Yes (100.0%)FORWARD CHAIN: application=Yes (100.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:1.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Study CompletedFORWARD CHAIN: Emp Ed=Yes (100.0%)>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Emp EdFORWARD CHAIN: application=Yes (100.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:1.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): applicationTRYINGRULE:1.1>Addtogoal stack:Testing>Rulestatusafterevaluationis:UnknownTRYINGRULE:2.1>Addtogoal stack:Psych>Rulestatusafterevaluationis:UnknownTRYINGRULE:6.1>Addtogoal stack:PsychTest

    37

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    38/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Psych Test*Prompt assigned: Psych Test=Excellent (100.0%)FORWARD CHAIN: Psych Test=Excellent (100.0%)>Forwardchain-trying rule:6.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:6.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:6.3>Rulestatusafterevaluationis:Unknown

    >Forward chain - trying rule: 6.4>Rule status after evaluation is: True/Fired *Rule assigned: Psych=Yes (100.0%)FORWARD CHAIN: Psych=Yes (100.0%)>Forwardchain-trying rule:2.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:2.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Psych TestFORWARD CHAIN: Psych=Yes (100.0%)>Forwardchain-trying rule:2.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:2.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): PsychTRYINGRULE:2.1>Addtogoal stack:Medical>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Medical*Prompt assigned: Medical=yes (100.0%)FORWARD CHAIN: Medical=yes (100.0%)>Forwardchain-trying rule:2.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:2.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): MedicalTRYINGRULE:2.1>Addtogoal stack:Physical>Rulestatusafterevaluationis:UnknownTRYINGRULE:5.1>Addtogoal stack:Sex>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Sex*Prompt assigned: Sex=Male (100.0%)FORWARD CHAIN: Sex=Male (100.0%)>Forwardchain-trying rule:5.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:5.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:5.3>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:5.4>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:5.5>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:5.6>Rulestatusafterevaluationis:False/Failed

    REMOVE FROM GOAL STACK (Resolved): SexTRYINGRULE:5.1>Addtogoal stack:Age>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Age*Prompt assigned: Age=22.0 (100.0%)FORWARD CHAIN: Age=22.0 (100.0%)>Forwardchain-trying rule:5.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:5.2>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:5.3>Rulestatusafterevaluationis:False/Failed

    REMOVE FROM GOAL STACK (Resolved): AgeTRYINGRULE:5.1>Addtogoal stack:Time>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Time

    *Prompt assigned: Time=6.0 (100.0%)FORWARD CHAIN: Time=6.0 (100.0%)>Forward chain - trying rule: 5.1>Rule status after evaluation is: True/Fired *Rule assigned: Physical=Yes (100.0%)FORWARD CHAIN: Physical=Yes (100.0%)>Forwardchain-trying rule:2.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:2.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): TimeFORWARD CHAIN: Physical=Yes (100.0%)>Forwardchain-trying rule:2.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:2.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): PhysicalTRYINGRULE:2.1>Addtogoal stack:Panel>Rulestatusafterevaluationis:UnknownTRYINGRULE:4.1>Addtogoal stack:PanelInterview>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Panel Interview*Prompt assigned: Panel Interview=Excellent (100.0%)

    FORWARD CHAIN: Panel Interview=Excellent (100.0%)>Forwardchain-trying rule:4.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:4.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:4.3>Rulestatusafterevaluationis:Unknown

    >Forward chain - trying rule: 4.4>Rule status after evaluation is: True/Fired *Rule assigned: Panel=Yes (100.0%)FORWARD CHAIN: Panel=Yes (100.0%)>Forward chain - trying rule: 2.1>Rule status after evaluation is: True/Fired *Rule assigned: Testing=Yes (100.0%)FORWARD CHAIN: Testing=Yes (100.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:1.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:2.2>Rulestatusafterevaluationis:Unknown

    38

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    39/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    REMOVE FROM GOAL STACK (Resolved): Panel InterviewFORWARD CHAIN: Panel=Yes (100.0%)>Forwardchain-trying rule:2.2>Rulestatusafterevaluationis:UnknownREMOVEFROMGOALSTACK (Resolved):PanelFORWARDCHAIN:Testing=Yes(100.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:1.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): TestingTRYINGRULE:1.1>Addtogoal stack:FinalApproval>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Final Approval*Prompt assigned: Final Approval=yes (100.0%)FORWARD CHAIN: Final Approval=yes (100.0%)>Forward chain - trying rule: 1.1>Rule status after evaluation is: True/Fired *Rule assigned: Recommend=Yes (100.0%)FORWARD CHAIN: Recommend=Yes (100.0%)>No eligible rules for: Recommend>Forwardchain-trying rule:1.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Final ApprovalFORWARD CHAIN: Recommend=Yes (100.0%)>No eligible rules for: RecommendREMOVE FROM GOAL STACK (Resolved): RecommendGOAL STACK EMPTY: END CONSULTATION

    5.2.2 TEST 2This test is for a poor applicant, aimed at testing the Testing section (rule set 2).

    Data Input at Prompts

    Application Received > YesResidency > Australian CitizenSecurity Clearance > YesFirst Aid > YesSwimming > YesLicense Type > ProvisionalYears Driving > 3Defensive Driving > YesStudy Level > DiplomaStudy Completed >YesPsych Test > SatisfactoryMedical > YesSex > MaleAge > 40Time > 15

    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

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    40/68

    Queensland Police Service - Expert SystemPeter 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 = NoRULE [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 ResultRecommend = No CF = 100%

    E2GLite OutputSTARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):>RecommendMinimum confidence factor for accepting a value as a fact: 1.0%TRYINGRULE:1.1>Addtogoal stack:Applicationreceived>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Application received*Prompt assigned: Application received=yes (100.0%)FORWARD CHAIN: Application received=yes (100.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:1.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Application receivedTRYINGRULE:1.1>Addtogoal stack:application>Rulestatusafterevaluationis:UnknownTRYINGRULE:3.1>Addtogoal stack:Residency>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Residency*Prompt assigned: Residency=Australian Citizen (100.0%)FORWARD CHAIN: Residency=Australian Citizen (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): ResidencyTRYINGRULE:3.1>Addtogoal stack:SecurityClearance>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Security Clearance*Prompt assigned: Security Clearance=yes (100.0%)FORWARD CHAIN: Security Clearance=yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Security ClearanceTRYINGRULE:3.1>Addtogoal stack:FirstAid>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: First Aid*Prompt assigned: First Aid=yes (100.0%)

    40

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    41/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    FORWARD CHAIN: First Aid=yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): First AidTRYINGRULE:3.1>Addtogoal stack:Swimming>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Swimming*Prompt assigned: Swimming=yes (100.0%)FORWARD CHAIN: Swimming=yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): SwimmingTRYINGRULE:3.1>Addtogoal stack:License>Rulestatusafterevaluationis:UnknownTRYINGRULE:8.1>Addtogoal stack:LicenseType>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: License Type*Prompt assigned: License Type=Provisional License (100.0%)FORWARD CHAIN: License Type=Provisional License (100.0%)>Forwardchain-trying rule:8.1>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:8.2>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:8.3>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): License TypeTRYINGRULE:8.3>Addtogoal stack:YearsDriving>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Years Driving*Prompt assigned: Years Driving=3.0 (100.0%)FORWARD CHAIN: Years Driving=3.0 (100.0%)>Forwardchain-trying rule:8.3>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Years DrivingTRYINGRULE:8.3>Addtogoal stack:DefensiveDriving>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Defensive Driving*Prompt assigned: Defensive Driving=Yes (100.0%)FORWARD CHAIN: Defensive Driving=Yes (100.0%)>Forward chain - trying rule: 8.3>Rule status after evaluation is: True/Fired *Rule assigned: License=Yes (100.0%)FORWARD CHAIN: License=Yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Defensive DrivingFORWARD CHAIN: License=Yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): LicenseTRYINGRULE:3.1> A d d t o g o al s t a c k : E m p E d>Rulestatusafterevaluationis:UnknownTRYINGRULE:7.1>Addtogoal stack:Studylevel>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Study level

    *Prompt assigned: Study level=Diploma (100.0%)FORWARD CHAIN: Study level=Diploma (100.0%)>Forwardchain-trying rule:7.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:7.2>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.3>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:7.4>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:7.5>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.6>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.7>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:7.8>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.9>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Study levelTRYINGRULE:7.1>Rulestatusafterevaluationis:FailedTRYINGRULE:7.3>Addtogoal stack:StudyCompleted>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Study Completed*Prompt assigned: Study Completed=yes (100.0%)FORWARD CHAIN: Study Completed=yes (100.0%)>Forward chain - trying rule: 7.3>Rule status after evaluation is: True/Fired *Rule assigned: Emp Ed=Yes (95.0%)FORWARD CHAIN: Emp Ed=Yes (95.0%)

    >Forward chain - trying rule: 3.1>Rule status after evaluation is: True/Fired *Rule assigned: application=Yes (95.0%)FORWARD CHAIN: application=Yes (95.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:1.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:7.4>Rulestatusafterevaluationis:False/Failed

    REMOVE FROM GOAL STACK (Resolved): Study CompletedFORWARD CHAIN: Emp Ed=Yes (95.0%)>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Emp EdFORWARD CHAIN: application=Yes (95.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:1.2>Rulestatusafterevaluationis:Unknown

    41

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    42/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    REMOVE FROM GOAL STACK (Resolved): applicationTRYINGRULE:1.1>Addtogoal stack:Testing>Rulestatusafterevaluationis:UnknownTRYINGRULE:2.1>Addtogoal stack:Psych>Rulestatusafterevaluationis:UnknownTRYINGRULE:6.1>Addtogoal stack:PsychTest>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Psych Test*Prompt assigned: Psych Test=Satisfactory (100.0%)FORWARD CHAIN: Psych Test=Satisfactory (100.0%)>Forward chain - trying rule: 6.1>Rule status after evaluation is: True/Fired *Rule assigned: Psych=Yes (70.0%)FORWARDCHAIN:Psych=Yes(70.0%)>Forwardchain-trying rule:2.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:2.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:6.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:6.3>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:6.4>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Psych TestFORWARD CHAIN: Psych=Yes (70.0%)>Forwardchain-trying rule:2.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:2.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): PsychTRYINGRULE:2.1>Addtogoal stack:Medical>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Medical*Prompt assigned: Medical=yes (100.0%)FORWARD CHAIN: Medical=yes (100.0%)>Forwardchain-trying rule:2.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:2.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): MedicalTRYINGRULE:2.1>Addtogoal stack:Physical>Rulestatusafterevaluationis:UnknownTRYINGRULE:5.1>Addtogoal stack:Sex>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Sex*Prompt assigned: Sex=Male (100.0%)FORWARD CHAIN: Sex=Male (100.0%)>Forwardchain-trying rule:5.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:5.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:5.3>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:5.4>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:5.5>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:5.6>Rulestatusafterevaluationis:False/Failed

    REMOVE FROM GOAL STACK (Resolved): SexTRYINGRULE:5.1>Addtogoal stack:Age>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Age*Prompt assigned: Age=40.0 (100.0%)FORWARD CHAIN: Age=40.0 (100.0%)>Forwardchain-trying rule:5.1>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:5.2>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:5.3>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): AgeTRYINGRULE:5.3>Addtogoal stack:Time>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Time*Prompt assigned: Time=15.0 (100.0%)FORWARD CHAIN: Time=15.0 (100.0%)>Forwardchain-trying rule:5.3>Rulestatusafterevaluationis:False/Failed

    REMOVE FROM GOAL STACK (Resolved): Time*Default assigned: Physical=NoFORWARD CHAIN: Physical=No (100.0%)>Forwardchain-trying rule:2.1>Rulestatusafterevaluationis:False/Failed

    >Forward chain - trying rule: 2.2>Rule status after evaluation is: True/Fired *Rule assigned: Testing=No (100.0%)FORWARD CHAIN: Testing=No (100.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:False/Failed

    >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: RecommendREMOVE FROM GOAL STACK (Resolved): PhysicalFORWARD CHAIN: Testing=No (100.0%)>No eligible rules for: TestingREMOVE FROM GOAL STACK (Resolved): TestingFORWARD CHAIN: Recommend=No - Not all requirements to join have been met.(100.0%)

    42

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    43/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    >No eligible rules for: RecommendREMOVE FROM GOAL STACK (Resolved): Recommend

    GOAL STACK EMPTY: END CONSULTATION

    43

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    44/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    5.2.3 TEST 3This test is for a poor applicant, aimed at testing the Employment/Educationsection (rule set 7).

    Data Input at PromptsApplication Received > YesResidency > Australian CitizenSecurity Clearance > YesFirst Aid > YesSwimming > YesLicense Type > OpenDefensive Driving > NoStudy Level > None

    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 ResultRecommend = No CF = 100%

    E2GLite OutputSTARTING NEW CONSULTATION WITH THE FOLLOWING GOAL(S):>RecommendMinimum confidence factor for accepting a value as a fact: 1.0%TRYINGRULE:1.1>Addtogoal stack:Applicationreceived>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Application received*Prompt assigned: Application received=yes (100.0%)

    44

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    45/68

    Queensland Police Service - Expert SystemPeter Axon, Michael Macdonald, Anne McCloghry

    FORWARD CHAIN: Application received=yes (100.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:1.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Application receivedTRYINGRULE:1.1>Addtogoal stack:application>Rulestatusafterevaluationis:UnknownTRYINGRULE:3.1>Addtogoal stack:Residency>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Residency*Prompt assigned: Residency=Australian Citizen (100.0%)FORWARD CHAIN: Residency=Australian Citizen (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): ResidencyTRYINGRULE:3.1>Addtogoal stack:SecurityClearance>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Security Clearance*Prompt assigned: Security Clearance=yes (100.0%)FORWARD CHAIN: Security Clearance=yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): Security ClearanceTRYINGRULE:3.1>Addtogoal stack:FirstAid>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: First Aid*Prompt assigned: First Aid=yes (100.0%)FORWARD CHAIN: First Aid=yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): First AidTRYINGRULE:3.1>Addtogoal stack:Swimming>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Swimming*Prompt assigned: Swimming=yes (100.0%)FORWARD CHAIN: Swimming=yes (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): SwimmingTRYINGRULE:3.1>Addtogoal stack:License>Rulestatusafterevaluationis:UnknownTRYINGRULE:8.1>Addtogoal stack:LicenseType>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: License Type*Prompt assigned: License Type=Open License (100.0%)FORWARD CHAIN: License Type=Open License (100.0%)>Forwardchain-trying rule:8.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:8.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:8.3>Rulestatusafterevaluationis:False/Failed

    REMOVE FROM GOAL STACK (Resolved): License TypeTRYINGRULE:8.1>Addtogoal stack:DefensiveDriving>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Defensive Driving*Prompt assigned: Defensive Driving=No (100.0%)FORWARD CHAIN: Defensive Driving=No (100.0%)>Forward chain - trying rule: 8.1>Rule status after evaluation is: True/Fired *Rule assigned: License=Yes (95.0%)FORWARD CHAIN: License=Yes (95.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:8.2>Rulestatusafterevaluationis:False/Failed

    REMOVE FROM GOAL STACK (Resolved): Defensive DrivingFORWARD CHAIN: License=Yes (95.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:Unknown>Forwardchain-trying rule:3.2>Rulestatusafterevaluationis:Unknown

    REMOVE FROM GOAL STACK (Resolved): LicenseTRYINGRULE:3.1> A d d t o g o al s t a c k : E m p E d>Rulestatusafterevaluationis:UnknownTRYINGRULE:7.1>Addtogoal stack:Studylevel>Rulestatusafterevaluationis:Unknown

    PROMPT FOR: Study level

    *Prompt assigned: Study level=None (100.0%)FORWARD CHAIN: Study level=None (100.0%)>Forward chain - trying rule: 7.1>Rule status after evaluation is: True/Fired *Rule assigned: Emp Ed=No (100.0%)FORWARD CHAIN: Emp Ed=No (100.0%)>Forwardchain-trying rule:3.1>Rulestatusafterevaluationis:False/Failed

    >Forward chain - trying rule: 3.2>Rule status after evaluation is: True/Fired *Rule assigned: application=No (100.0%)FORWARD CHAIN: application=No (100.0%)>Forwardchain-trying rule:1.1>Rulestatusafterevaluationis:False/Failed

    45

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    46/68

    Queensland Police Service - Expert SystemPeter 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>Forwardchain-trying rule:7.2>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.3>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.4>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.5>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.6>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.7>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.8>Rulestatusafterevaluationis:False/Failed>Forwardchain-trying rule:7.9>Rulestatusafterevaluationis:False/Failed

    REMOVE FROM GOAL STACK (Resolved): Study levelFORWARD CHAIN: Emp Ed=No (100.0%)>No eligible rules for: Emp EdREMOVE FROM GOAL STACK (Resolved): Emp EdFORWARD CHAIN: application=No (100.0%)>No eligible rules for: applicationREMOVE FROM GOAL STACK (Resolved): applicationFORWARD CHAIN: Recommend=No - Not all requirements to join have been met.(100.0%)>No eligible rules for: RecommendREMOVE FROM GOAL STACK (Resolved): RecommendGOAL STACK EMPTY: END CONSULTATION

    5.2.4 TEST 4This test is for an average applicant, it also tests various confidence factors.

    Data Input at Prompts

    Application Received > YesResidency > Australian CitizenSecurity Clearance > Yes

    First Aid > YesSwimming > Yes @80License Type > OpenDefensive Driving > NoStudy Level > BachelorStudy Completed >NoYears of Employment > 7 @90Years of Study Completed> 2Psych Test > Very GoodMedical > YesSex > FemaleAge > 26Time > 8

    Panel Interview > Very GoodFinal Approval > Yes

    Expected Result

    RULE [8.2]If [License Type] = "Open License" and

    [Defensive Driving] = "Yes"then [License] = "Yes" @95

    46

  • 8/14/2019 Mccloghry.axon.Macdonald ISY10056 Ass2

    47/68

    Queensland Police Service - Expert SystemPeter 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"@90RULE [3.1]

    if [Residency] : "Australian Citizen" "Australian Resident" "New Zealandcitizen 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.684RULE [6.3]

    If [Psych Test] = "Very Good"Then [Psych] = "Yes" @90

    RULE