Verification and Validation
- f Knowledge-Based Systems
Verification and Validation of Knowledge-Based Systems Prepared by - - PowerPoint PPT Presentation
Verification and Validation of Knowledge-Based Systems Prepared by Dr Ahmed Rafea Survey on KBS Development V&V Definition WHY IS V&V OF KS DIFFICULT? Knowledge Representation Formalisms Evolving and Large KBs
– For instance, a rule based KB may have potential inconsistencies, incompleteness, circularity or redundancies among the rules in the KB.
– Testing Criteria – Difficulties in Generation of Test Case Inputs – Difficulties in Generation of Test Case Outputs – Input and Output Spaces for Selection of TestCases Can Be Huge – High Costs of Testing
– informal (reading/reviews, inspections, and walkthroughs) – semiformal checks such as type-checking performed by compilers – formal techniques (axiomatic mathematical proofs).
input attribute of one relation and as an output attribute of another relation and a path between the other edges of these relations can be reached.
same conclusion from the same inputs through different paths
test, developer test.
concept-attributes pair and their suggested values.
– The tester provides both the knowledge engineer and the domain expert by a list
check consistency between the test cases and the specification (They serve the verification activity).
– A screen, holding the input concept-attributes pairs used in the KB components, is automatically generated and displayed. – This screen contains the possible legal values (in the case of nominal attribute)
– Thus, the developer can supply any combination of values, run the KB component, and observer the result. – The existence of domain expert will enrich this test since he could apply different combination according to his expertise.
anonymously the outputs obtained from the system and the outputs
experts cannot distinguish between the problem-solving abilities of the system and the other humans, then the system is deemed to be acceptable.
months and feedback on system effectiveness and user interface are to be assessed.
domain expert and end users. The expert assesses the correctness
system, the timelines of the response, the reasonableness of the
environment.
determine whether a product has regressed to a less functional state than in the previous build
twelve months to keep track of whether its competence and accuracy remain high
reapplied.
cases that have been applied to each KB components.
comparison between the old and the new cases is taken place.
modification.
each rule condition:
– the case where the condition is exactly true and false; and – two cases where the condition is “minimally” true and false respectively; and – two cases where the condition is “extremely” true and false.
performance of testing process.
tested values to be: valid data, invalid data, and default values, one approach suggested producing two cases for a condition one exactly true and the other minimally false.
test.
generated cases are 2*n.