SlideShare uma empresa Scribd logo
1 de 68
Baixar para ler offline
Template knowledge models
Reusing knowledge model elements
Template knowledge models 2
Lessons
■  Knowledge models partially reused in new
applications
■  Type of task = main guide for reuse
■  Catalog of task templates
➀  small set in this book
➀  see also other repositories
Template knowledge models 3
The need for reuse
■  prevent "re-inventing the wheel"
■  cost/time efficient
■  decreases complexity
■  quality-assurance
Template knowledge models 4
Task template
■  reusable combination of model elements
➀  (provisional) inference structure
➀  typical control structure
➀  typical domain schema from task point-of-view
■  specific for a task type
■  supports top-down knowledge modeling
Template knowledge models 5
A typology of tasks
■  range of task types is limited
➀  advantage of KE compared to general SE
■  background: cognitive science/psychology
■  several task typologies have been proposed in the
literature
■  typology is based on the notion of “system”
Template knowledge models 6
The term “system”
■  abstract term for object to which a task is applied.
■  in technical diagnosis: artifact or device being
diagnosed
■  in elevator configuration: elevator to be designed
■  does not need to exist (yet)
Template knowledge models 7
Analytic versus synthetic tasks
■  analytic tasks
➀  system pre-exists
–  it is typically not completely "known"
➀  input: some data about the system,
➀  output: some characterization of the system
■  synthetic tasks
➀  system does not yet exist
➀  input: requirements about system to be constructed
➀  output: constructed system description
Template knowledge models 8
Task hierarchy
knowledge-­‐
intens ive	
  
tas k
analytic
tas k
clas s ification
s ynthetic
tas k
as s es s ment
diagnos is
configuration
des ign
planning
s cheduling
as s ignment
modelling
prediction
monitoring
des ign
Template knowledge models 9
Structure of template
description in catalog
■  General characterization
➀  typical features of a task
■  Default method
➀  roles, sub-functions, control structure, inference structure
■  Typical variations
➀  frequently occurring refinements/changes
■  Typical domain-knowledge schema
➀  assumptions about underlying domain-knowledge structure
Template knowledge models 10
Classification
■  establish correct class for an object
■  object should be available for inspection
➀  "natural" objects
■  examples: rock classification, apple classification
■  terminology: object, class, attribute, feature
■  one of the simplest analytic tasks; many methods
■  other analytic tasks: sometimes reduced to
classification problem especially diagnosis
Template knowledge models 11
Classification:
pruning method
■  generate all classes to which the object may belong
■  specify an object attribute
■  obtain the value of the attribute
■  remove all classes that are inconsistent with this
value
Template knowledge models 12
Classification:
inference structure
object
class
attribute
feature
truth
value
generate
specify
match
obtain
	
  	
  
Template knowledge models 13
Classification:
method control
while new-solution generate(object -> candidate) do
candidate-classes := candidate union candidate-classes;
while new-solution specify(candidate-classes -> attribute)
and length candidate-classes > 1 do
obtain(attribute -> new-feature);
current-feature-set := new-feature union current-feature-set;
for-each candidate in candidate-classes do
match(candidate + current-feature-set -> truth-value);
if truth-value = false;
then candidate-classes := candidate-classes subtract candidate;
Template knowledge models 14
Classification:
method variations
■  Limited candidate generation
■  Different forms of attribute selection
➀  decision tree
➀  information theory
➀  user control
■  Hierarchical search through class structure
Template knowledge models 15
Classification:
domain schema
object	
  type
attribute
value:	
  universal
object	
  clas s
clas s
cons traint
	
  requires	
  
has-­‐attribute
class-­‐of
2+ 1+
Template knowledge models 16
Rock classification
volcanic
rock
igneous
rock
plutonic
rock
s yenite diorite
peridotite dunite
mineral
rock
texture
grainsize
colour
mineral
content
percentage
presence
1+
mineral	
  content
cons traint
s ilicate
nes o
s ilicate
tecto
s ilicate
olivine quartz
minerals
ontology
Template knowledge models 17
Nested classification
rock
rock
classifcation
minerals
obtain:	
  Quartz	
  percentage
mineral	
  
classification
Quartz olivine
sub-­‐task
identify
Quartz
contains
Template knowledge models 18
Rock classification prototype
Template knowledge models 19
Assessment
■  find decision category for a case based on domain-
specific norms.
■  typical domains: financial applications (loan
application), community service
■  terminology: case, decision, norms
■  some similarities with monitoring
➀  differences:
–  timing: assessment is more static
–  different output: decision versus discrepancy
Template knowledge models 20
Assessment:
abstract & match method
■  Abstract the case data
■  Specify the norms applicable to the case
➀  e.g. “rent-fits-income”, “correct-household-size”
■  Select a single norm
■  Compute a truth value for the norm with respect to
the case
■  See whether this leads to a decision
■  Repeat norm selection and evaluation until a decision
is reached
Template knowledge models 21
Assessment:
inference structure
case
abstracted
case norms
norm
valuedecision
abstract
select
match
specify
evaluate norm
Template knowledge models 22
Assessment:
method control
while new-solution abstract(case-description -> abstracted-case)
do
case-description := abstracted-case;
end while
specify(abstracted-case -> norms);
repeat
select(norms -> norm);
evaluate(abstracted-case + norm -> norm-value);
evaluation-results := norm-value union evaluation-results;
until has-solution match(evaluation-results -> decision);
Template knowledge models 23
Assessment control:
UML notation
abstract
specify
norms
select
norm
match
decision
evaluate
norm
[more abstractions]
[no more
abstractions] [match fails
no decision]
[match succeeds:
decision found]
Template knowledge models 24
Assessment:
method variations
■  norms might be case-specific
➀  cf. housing application
■  case abstraction may not be needed
■  knowledge-intensive norm selection
➀  random, heuristic, statistical
➀  can be key to efficiency
➀  sometimes dictated by human expertise
–  only acceptable if done in a way understandable to experts
Template knowledge models 25
Assessment:
domain schema
cas e
cas e
datum
cas e	
  datum
value:	
  universal
decis ionnorm
truth-­‐value:	
  boolean
	
  indicates	
  
has
	
  abstraction	
  
	
  implies	
  
decis ion
rule
requirement
abs traction
rule
1+
1+
1+
	
  	
  
Template knowledge models 26
Claim handling for
unemployment benefits
:claim
collect
data
data
entry
decide	
  
about	
  claim
compute
benefit
send
notification prepare
payment
[no	
  right]
[right]
c laim	
  handling finac ial
department
Template knowledge models 27
Decision rules for
claim handling
<norm>
WW	
  	
  benefit
requirement
<decision>
WW	
  benefit
right
<decision	
  rule>
benefit	
  decision
rule	
  
DE FINE S
insured	
  =	
  false
DE F INE S
W W -­‐benefit-­‐right.value	
  =	
  no-­‐right
iunemployed	
  =	
  false
DE F INE S
W W -­‐benefit-­‐right.value	
  =	
  no-­‐right
weeks-­‐worked-­‐requirement	
  =	
  false
DE F INE S
W W -­‐benefit-­‐right.value	
  =	
  no-­‐right
insured	
  =	
  true	
  AND
unemployed	
  =	
  true	
  AND
weeks-­‐worked-­‐-­‐requirement	
  =	
  true	
  AND
years-­‐worked-­‐requirement	
  =	
  false
DE F INE S
W W -­‐benefit-­‐right.value	
  =	
  short-­‐benefit
insured	
  =	
  true	
  AND
unemployed	
  =	
  true	
  AND
weeks-­‐worked-­‐-­‐requirement	
  =	
  true	
  AND
years-­‐worked-­‐requirement	
  =	
  true
DE F INE S
W W -­‐benefit-­‐right.value	
  =	
  long-­‐benefit
Template knowledge models 28
Diagnosis
■  find fault that causes system to malfunction
➀  example: diagnosis of a copier
■  terminology:
➀  complaint/symptom, hypothesis, differential, finding(s)/evidence,
fault
■  nature of fault varies
➀  state, chain, component
■  should have some model of system behavior
➀  default method: simple causal model
■  sometimes reduced to classification task
➀  direct associations between symptoms and faults
■  automation feasible in technical domains
Template knowledge models 29
Diagnosis:
causal covering method
■  Find candidate causes (hypotheses) for the complaint
using a causal network
■  Select a hypothesis
■  Specify an observable for this hypothesis and obtain
its value
■  Verify each hypothesis to see whether it is consistent
with the new finding
■  Continue this process until a single hypothesis is left
or no more observables are available
Template knowledge models 30
Diagnosis:
inference structure
complaint
cover
specify
select obtain
hypothesis
observable
finding
hypothesis
verify
result
Template knowledge models 31
Diagnosis:
method control
while new-solution cover(complaint -> hypothesis) do
differential := hypothesis add differential;
end while
repeat
select(differential -> hypothesis);
specify(hypothesis -> observable);
obtain(observable -> finding);
evidence := finding add evidence;
foreach hypothesis in differential do
verify(hypothesis + evidence -> result);
if result = false then differential := differential subtract hypothesis
until length differential =< 1 or “no observables left”
faults := hypothesis;
Template knowledge models 32
Diagnosis:
method variations
■  inclusion of abstractions
■  simulation methods
■  see literature on model-based diagnosis
➀  library of Benjamins
Template knowledge models 33
Diagnosis:
domain schema
system
feature
system
observable
value:	
  universal
system
state
status:	
  universal
fault
prevalence:	
  number[0..1]
system
state
system
feature	
  can	
  cause	
  
causal
dependency
Template knowledge models 34
Monitoring
■  analyze ongoing process to find out whether it behaves
according to expectations
■  terminology:
➀  parameter, norm, discrepancy, historical data
■  main features:
➀  dynamic nature of the system
➀  cyclic task execution
■  output "just" discrepancy => no explanation
■  often: coupling monitoring and diagnosis
➀  output monitoring is input diagnosis
Template knowledge models 35
Monitoring:
data-driven method
■  Starts when new findings are received
■  For a find a parameter and a norm value is specified
■  Comparison of the find with the norm generates a
difference description
■  This difference is classified as a discrepancy using
data from previous monitoring cycles
Template knowledge models 36
Monitoring:
inference structure
new
finding
select
system
model
specifycompare
classify
parameter
difference
norm
discrepancy
historical
data
receive
Template knowledge models 37
Monitoring:
method control
receive(new-finding);
select(new-finding -> parameter)
specify(parameter -> norm);
compare(norm + finding -> difference);
classify(difference + historical-data -> discrepancy);
historical-data := finding add historical-data;
Template knowledge models 38
Monitoring:
method variations
■  model-driven monitoring
➀  system has the initiative
➀  typically executed at regular points in time
➀  example: software project management
■  classification function treated as task in its won right
➀  apply classification method
■  add data abstraction inference
Template knowledge models 39
Prediction
■  analytic task with some synthetic features
■  analyses current system behavior to construct
description of a system state at future point in time.
■  example: weather forecasting
■  often sub-task in diagnosis
■  also found in knowledge-intensive modules of
teaching systems e.g. for physics.
■  inverse: retrodiction: big-bang theory
Template knowledge models 40
Synthesis
■  Given a set of requirements, construct a system
description that fulfills these requirements
"P 166	
  processor	
  requires	
  16Mb"
"prefer	
  cheapest	
  component"
	
  preference	
  
	
  cons traint	
  
"price	
  lower	
  than	
  $2,000"
"fast	
  system"
	
  hard	
  requirement	
  
	
  s oft	
  requirement	
  
requirements
(external)
cons traints 	
  &	
  preferences
(internal)
Template knowledge models 41
“Ideal” synthesis method
■  Operationalize requirements
➀  preferences and constraints
■  Generate all possible system structures
■  Select sub-set of valid system structures
➀  obey constraints
■  Order valid system structures
➀  based on preferences
Template knowledge models 42
Synthesis:
inference structure
requirements
hard
requirements
soft
requirements
possible
system	
  
structures
list	
  of	
  preferred
system	
  structures
valid	
  system	
  
structures
constraints
preferences
preference
ordering
knowledge
system
composition
knowledge
operationalize
generate
select
subset
sort
Template knowledge models 43
Design
■  synthetic task
■  system to be constructed is physical artifact
■  example: design of a car
■  can include creative design of components
■  creative design is too hard a nut to crack for current
knowledge technology
■  sub-type of design which excludes creative design =>
configuration design
Template knowledge models 44
Configuration design
■  given predefined components, find assembly that
satisfies requirements + obeys constraints
■  example: configuration of an elevator; or PC
■  terminology: component, parameter, constraint, preference,
requirement (hard & soft)
■  form of design that is well suited for automation
■  computationally demanding
Template knowledge models 45
Elevator configuration:
knowledge base reuse
Template knowledge models 46
Configuration:
propose & revise method
■  Simple basic loop:
➀  Propose a design extension
➀  Verify the new design,
➀  If verification fails, revise the design
■  Specific domain-knowledge requirements
➀  revise strategies
■  Method can also be used for other synthetic tasks
➀  assignment with backtracking
➀  skeletal planning
Template knowledge models 47
Configuration:
method decomposition
requirements
soft
requirements
hard
requirements
skeletal
design
design
extension
violation
truth
value
action
action
list
operationalize
critique
modify
verify
specify
propose
select
	
  	
  
Template knowledge models 48
Configuration:
method control
operationalize(requirements -> hard-reqs + soft-reqs);
specify(requirements -> skeletal-design);
while new-solution propose(skeletal-design + design +soft-reqs -
> extension) do
design := extension union design;
verify(design + hard-reqs -> truth-value + violation);
if truth-value = false then
critique(violation + design -> action-list);
repeat select(action-list -> action);
modify(design + action -> design);
verify(design + hard-reqs -> truth-value + violation);
until truth-value = true;
end while
Template knowledge models 49
Configuration:
method variations
■  Perform verification plus revision only when for all
design elements a value has been proposed.
➀  can have a large impact on the competence of the method
■  Avoid the use of fix knowledge
➀  Fixes are search heuristics to navigate the potentially
extensive space of alternative designs
➀  alternative: chronological backtracking
Template knowledge models 50
Configuration:
domain schema
design	
  element
parameter
value:	
  universal
component
model	
  list:	
  list
fix	
  action
action	
  type
constraint
design
element
component
calculation
expression
constraint
expression
	
  computes	
  
implies
1+
1+
1+
1+ fix
has-­‐parameter
0+
defines
preference
preference
rating:	
  universal
preference
expression
1+
Template knowledge models 51
Types of configuration may
require different methods
■  Parametric design
➀  Assembly is largely fixed
➀  Emphasis on finding parameter values that obey global
constraints and adhere to preferences
➀  Example: elevator design
■  Layout
➀  Component parameters are fixed
➀  Emphasis on constructing assembly (topological relations)
➀  Example: mould configuration
■  Literature: Motta (1999), Chandrasekaran (1992)
Template knowledge models 52
Assignment
■  create mapping between two sets of objects
➀  allocation of offices to employees
➀  allocation of airplanes to gates
■  mapping has to satisfy requirements and be
consistent with constraints
■  terminology
➀  subject, resource, allocation
■  can be seen as a “degenerative” form of
configuration design
Template knowledge models 53
Assignment:
method without backtracking
■  Order subject allocation to resources by selecting first
a sub-set of subjects
■  If necessary: group the subjects into subject-groups
for joint resource assignment
➀  requires special type of constraints and preferences
■  Take an subject(-group) and assign a resource to it.
■  Repeat this process until all subjects have a resource
Template knowledge models 54
Assignment:
inference structure
subjects
subject
set
subject
group
resourceresources
current
allocations
select
subset
group
assign
	
  	
  
Template knowledge models 55
Assignment:
method control
while not empty subjects do
select-subset(subjects -> subject-set);
while not empty subject-set do
group(subject-set -> subject-group);
assign(subject-group + resources + current-allocations ->
resource);
current-allocations := < subject-group, resource > union
current-allocations;
subject-set := subject-set/subject-group;
resources := resources/resource;
end while
subjects := subjects/subject-set;
end while
Template knowledge models 56
Assignment:
method variations
■  Existing allocations
➀  additional input
■  subject-specific constraints and preferences
➀  see synthesis and configuration-design
Template knowledge models 57
Planning
■  shares many features with design
■  main difference: "system" consists of activities plus
time dependencies
■  examples: travel planning; planning of building activities
■  automation only feasible, if the basic plan elements
are predefined
■  consider use of the general synthesis method (e.g
therapy planning) or the configuration-design method
Template knowledge models 58
Planning method
plan	
  goal
hard
requirements
soft
requirements
possible
plans
list	
  of	
  preferred
plans
valid	
  plans
constraints
preferences
preference
ordering
knowledge
plan
composition
knowledge
operationalize
generate
select
subset
sort
requirements
Template knowledge models 59
Scheduling
■  Given a set of predefined jobs, each of which
consists of temporally sequenced activities called
units, assign all the units to resources at time slots
➀  production scheduling in plant floors
■  Terminology: job, unit, resource, schedule
■  Often done after planning (= specification of jobs)
■  Take care: use of terms “planning” and “scheduling”
differs
Template knowledge models 60
Scheduling:
temporal dispatching method
■  Specify an initial schedule
■  Select a candidate unit to be assigned
■  Select a target resource for this unit
■  Assign unit to the target resource
■  Evaluate the current schedule
■  Modify the schedule, if needed
Template knowledge models 61
Scheduling:
inference structure
job
schedule
candidate
unit
target
resource
truth
value
specify
modify
verify
assign
select
select
	
  	
  
Template knowledge models 62
Scheduling:
method control
specify(jobs -> schedule);
while new-solution select(schedule -> candidate-unit) do
select(candidate-unit + schedule -> target-resource);
assign(candidate-unit + target-resource -> schedule);
evaluate(schedule -> truth-value);
if truth-value = false then
modify(schedule -> schedule);
end while
Template knowledge models 63
Scheduling:
method variations
■  Constructive versus repair method
■  Refinement often necessary
➀  see scheduling literature
➀  catalog of Hori (IBM Japan)
Template knowledge models 64
Scheduling: typical
domain schema
s chedule job
release-­‐date:	
  time
due-­‐date:	
  time
unit
start:	
  time
end:	
  time
resource-­‐type:	
  string
res ource
type:	
  string
start-­‐time:	
  time
end-­‐time:	
  time
includes
{dynamically	
  
linked}
{temporally
ordered}
job	
  unit
preference
cons traint
is 	
  performed	
  at
res ource
capacity
cons traint
Template knowledge models 65
Modeling
■  included for completeness
■  "construction of an abstract description of a system
in order to explain or predict certain system
properties or phenomena"
■  examples:
➀  construction of a simulation model of nuclear accident
➀  knowledge modeling itself
■  seldom automated => creative steps
➀  exception: chip modeling
Template knowledge models 66
In applications:
typical task combinations
■  monitoring + diagnosis
➀  Production process
■  monitoring + assessment
➀  Nursing task
■  diagnosis + planning
➀  Troubleshooting devices
■  classification + planning
➀  Military applications
Template knowledge models 67
Example: apple-pest
management
mintor
crop
identify
pest
plan	
  
measure
execute
plan
[possible	
  threat]
[possible	
  pest]
Template knowledge models 68
Comparison with O-O analysis
■  Reuse of functional descriptions is not common in O-
O analysis
➀  notion of “functional” object
■  But: see work on design patterns
➀  strategy patterns
➀  templates are patterns of knowledge-intensive tasks
■  Only real leverage from reuse if the patterns are
limited to restricted task types

Mais conteĂșdo relacionado

Mais procurados

Perils of Page-Object Pattern
Perils of Page-Object PatternPerils of Page-Object Pattern
Perils of Page-Object PatternAnand Bagmar
 
Testing dan implemetasi sistem 2
Testing dan implemetasi sistem 2Testing dan implemetasi sistem 2
Testing dan implemetasi sistem 2Fendi Hidayat
 
How google-tests-software
How google-tests-softwareHow google-tests-software
How google-tests-softwareBhawna Tuteja
 
What is Agile Methodology?
What is Agile Methodology?What is Agile Methodology?
What is Agile Methodology?QA InfoTech
 
Software testing
Software testingSoftware testing
Software testingSengu Msc
 
Product Development Using Agile and Lean Principles
Product Development Using Agile and Lean PrinciplesProduct Development Using Agile and Lean Principles
Product Development Using Agile and Lean PrinciplesTathagat Varma
 
Testes de Performance na Nuvem com JMeter e Blazemeter
Testes de Performance na Nuvem com JMeter e BlazemeterTestes de Performance na Nuvem com JMeter e Blazemeter
Testes de Performance na Nuvem com JMeter e BlazemeterElias Nogueira
 
Test Automation
Test AutomationTest Automation
Test Automationnikos batsios
 
GerĂȘncia de Configuração
GerĂȘncia de ConfiguraçãoGerĂȘncia de Configuração
GerĂȘncia de ConfiguraçãoWagner Zaparoli
 
Chapter 1 - Introduction and Objectives for Test Automation
Chapter 1 - Introduction and Objectives for Test AutomationChapter 1 - Introduction and Objectives for Test Automation
Chapter 1 - Introduction and Objectives for Test AutomationNeeraj Kumar Singh
 
Clean code
Clean codeClean code
Clean codeifnu bima
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsNeeraj Kumar Singh
 
Chapter 4 - Deployment & Delivery
Chapter 4 - Deployment & DeliveryChapter 4 - Deployment & Delivery
Chapter 4 - Deployment & DeliveryNeeraj Kumar Singh
 
Scrum Master (SM) - Practical Approach
Scrum Master (SM) - Practical ApproachScrum Master (SM) - Practical Approach
Scrum Master (SM) - Practical ApproachDavid Tzemach
 
Functional programming with Java 8
Functional programming with Java 8Functional programming with Java 8
Functional programming with Java 8LivePerson
 
Rational unified process (rup)
Rational unified process (rup)Rational unified process (rup)
Rational unified process (rup)Luis Alberto Perdomo
 

Mais procurados (20)

Perils of Page-Object Pattern
Perils of Page-Object PatternPerils of Page-Object Pattern
Perils of Page-Object Pattern
 
Testing dan implemetasi sistem 2
Testing dan implemetasi sistem 2Testing dan implemetasi sistem 2
Testing dan implemetasi sistem 2
 
How google-tests-software
How google-tests-softwareHow google-tests-software
How google-tests-software
 
What is Agile Methodology?
What is Agile Methodology?What is Agile Methodology?
What is Agile Methodology?
 
Software testing
Software testingSoftware testing
Software testing
 
Product Development Using Agile and Lean Principles
Product Development Using Agile and Lean PrinciplesProduct Development Using Agile and Lean Principles
Product Development Using Agile and Lean Principles
 
Testes de Performance na Nuvem com JMeter e Blazemeter
Testes de Performance na Nuvem com JMeter e BlazemeterTestes de Performance na Nuvem com JMeter e Blazemeter
Testes de Performance na Nuvem com JMeter e Blazemeter
 
Scrum Process
Scrum ProcessScrum Process
Scrum Process
 
Test Automation
Test AutomationTest Automation
Test Automation
 
GerĂȘncia de Configuração
GerĂȘncia de ConfiguraçãoGerĂȘncia de Configuração
GerĂȘncia de Configuração
 
SCRUM
SCRUMSCRUM
SCRUM
 
Chapter 1 - Introduction and Objectives for Test Automation
Chapter 1 - Introduction and Objectives for Test AutomationChapter 1 - Introduction and Objectives for Test Automation
Chapter 1 - Introduction and Objectives for Test Automation
 
PresentaciĂłn de Scrum
PresentaciĂłn de ScrumPresentaciĂłn de Scrum
PresentaciĂłn de Scrum
 
Chapter 5 - Tools
Chapter 5 - ToolsChapter 5 - Tools
Chapter 5 - Tools
 
Clean code
Clean codeClean code
Clean code
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic Concepts
 
Chapter 4 - Deployment & Delivery
Chapter 4 - Deployment & DeliveryChapter 4 - Deployment & Delivery
Chapter 4 - Deployment & Delivery
 
Scrum Master (SM) - Practical Approach
Scrum Master (SM) - Practical ApproachScrum Master (SM) - Practical Approach
Scrum Master (SM) - Practical Approach
 
Functional programming with Java 8
Functional programming with Java 8Functional programming with Java 8
Functional programming with Java 8
 
Rational unified process (rup)
Rational unified process (rup)Rational unified process (rup)
Rational unified process (rup)
 

Semelhante a CommonKADS knowledge model templates

CommonKADS knowledge modelling process
CommonKADS knowledge modelling processCommonKADS knowledge modelling process
CommonKADS knowledge modelling processGuus Schreiber
 
Informs presentation new ppt
Informs presentation new pptInforms presentation new ppt
Informs presentation new pptSalford Systems
 
Experimental Design for Distributed Machine Learning with Myles Baker
Experimental Design for Distributed Machine Learning with Myles BakerExperimental Design for Distributed Machine Learning with Myles Baker
Experimental Design for Distributed Machine Learning with Myles BakerDatabricks
 
Chapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfChapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfAschalewAyele2
 
Fundamentals of Quantitative Analysis
Fundamentals of Quantitative AnalysisFundamentals of Quantitative Analysis
Fundamentals of Quantitative AnalysisJubayer Alam Shoikat
 
Testing 2 - Thinking Like A Tester
Testing 2 - Thinking Like A TesterTesting 2 - Thinking Like A Tester
Testing 2 - Thinking Like A TesterArleneAndrews2
 
AI-900 - Fundamental Principles of ML.pptx
AI-900 - Fundamental Principles of ML.pptxAI-900 - Fundamental Principles of ML.pptx
AI-900 - Fundamental Principles of ML.pptxkprasad8
 
Lect8 Classification & prediction
Lect8 Classification & predictionLect8 Classification & prediction
Lect8 Classification & predictionhktripathy
 
Data mining chapter04and5-best
Data mining chapter04and5-bestData mining chapter04and5-best
Data mining chapter04and5-bestABDUmomo
 
Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)Lakshya Gupta
 
Week_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptxWeek_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptxmuhammadsamroz
 
Lecture 2 Data mining process.pdf
Lecture 2 Data mining process.pdfLecture 2 Data mining process.pdf
Lecture 2 Data mining process.pdfKaushik Kundu
 
Data Science With Python
Data Science With PythonData Science With Python
Data Science With PythonMosky Liu
 
Concept Evaluation And Selection
Concept Evaluation And SelectionConcept Evaluation And Selection
Concept Evaluation And SelectionQRCE
 
Operations Research - Models
Operations Research - ModelsOperations Research - Models
Operations Research - ModelsSundar B N
 
Unit 1 introduction to simulation
Unit 1 introduction to simulationUnit 1 introduction to simulation
Unit 1 introduction to simulationDevaKumari Vijay
 
Classification and Prediction.pptx
Classification and Prediction.pptxClassification and Prediction.pptx
Classification and Prediction.pptxSandeepAgrawal84
 
Supply Chain Analytics, Supply Chain Management, Supply Chain Data Analytics
Supply Chain Analytics, Supply Chain Management, Supply Chain Data AnalyticsSupply Chain Analytics, Supply Chain Management, Supply Chain Data Analytics
Supply Chain Analytics, Supply Chain Management, Supply Chain Data AnalyticsMujtabaAliKhan12
 
c23_ml1.ppt
c23_ml1.pptc23_ml1.ppt
c23_ml1.pptFaiz430036
 

Semelhante a CommonKADS knowledge model templates (20)

CommonKADS knowledge modelling process
CommonKADS knowledge modelling processCommonKADS knowledge modelling process
CommonKADS knowledge modelling process
 
Informs presentation new ppt
Informs presentation new pptInforms presentation new ppt
Informs presentation new ppt
 
Experimental Design for Distributed Machine Learning with Myles Baker
Experimental Design for Distributed Machine Learning with Myles BakerExperimental Design for Distributed Machine Learning with Myles Baker
Experimental Design for Distributed Machine Learning with Myles Baker
 
Chapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfChapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdf
 
Fundamentals of Quantitative Analysis
Fundamentals of Quantitative AnalysisFundamentals of Quantitative Analysis
Fundamentals of Quantitative Analysis
 
Testing 2 - Thinking Like A Tester
Testing 2 - Thinking Like A TesterTesting 2 - Thinking Like A Tester
Testing 2 - Thinking Like A Tester
 
AI-900 - Fundamental Principles of ML.pptx
AI-900 - Fundamental Principles of ML.pptxAI-900 - Fundamental Principles of ML.pptx
AI-900 - Fundamental Principles of ML.pptx
 
OR
OROR
OR
 
Lect8 Classification & prediction
Lect8 Classification & predictionLect8 Classification & prediction
Lect8 Classification & prediction
 
Data mining chapter04and5-best
Data mining chapter04and5-bestData mining chapter04and5-best
Data mining chapter04and5-best
 
Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)
 
Week_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptxWeek_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptx
 
Lecture 2 Data mining process.pdf
Lecture 2 Data mining process.pdfLecture 2 Data mining process.pdf
Lecture 2 Data mining process.pdf
 
Data Science With Python
Data Science With PythonData Science With Python
Data Science With Python
 
Concept Evaluation And Selection
Concept Evaluation And SelectionConcept Evaluation And Selection
Concept Evaluation And Selection
 
Operations Research - Models
Operations Research - ModelsOperations Research - Models
Operations Research - Models
 
Unit 1 introduction to simulation
Unit 1 introduction to simulationUnit 1 introduction to simulation
Unit 1 introduction to simulation
 
Classification and Prediction.pptx
Classification and Prediction.pptxClassification and Prediction.pptx
Classification and Prediction.pptx
 
Supply Chain Analytics, Supply Chain Management, Supply Chain Data Analytics
Supply Chain Analytics, Supply Chain Management, Supply Chain Data AnalyticsSupply Chain Analytics, Supply Chain Management, Supply Chain Data Analytics
Supply Chain Analytics, Supply Chain Management, Supply Chain Data Analytics
 
c23_ml1.ppt
c23_ml1.pptc23_ml1.ppt
c23_ml1.ppt
 

Mais de Guus Schreiber

How the Semantic Web is transforming information access
How the Semantic Web is transforming information accessHow the Semantic Web is transforming information access
How the Semantic Web is transforming information accessGuus Schreiber
 
Semantics and the Humanities: some lessons from my journey 2000-2012
Semantics and the Humanities: some lessons from my journey 2000-2012Semantics and the Humanities: some lessons from my journey 2000-2012
Semantics and the Humanities: some lessons from my journey 2000-2012Guus Schreiber
 
Ontologies: vehicles for reuse
Ontologies: vehicles for reuseOntologies: vehicles for reuse
Ontologies: vehicles for reuseGuus Schreiber
 
Linking historical ship records to a newspaper archive
Linking historical ship records to a newspaper archiveLinking historical ship records to a newspaper archive
Linking historical ship records to a newspaper archiveGuus Schreiber
 
CommonKADS project management
CommonKADS project managementCommonKADS project management
CommonKADS project managementGuus Schreiber
 
UML notations used by CommonKADS
UML notations used by CommonKADSUML notations used by CommonKADS
UML notations used by CommonKADSGuus Schreiber
 
Advanced knowledge modelling
Advanced knowledge modellingAdvanced knowledge modelling
Advanced knowledge modellingGuus Schreiber
 
CommonKADS design and implementation
CommonKADS design and implementationCommonKADS design and implementation
CommonKADS design and implementationGuus Schreiber
 
CommonKADS communication model
CommonKADS communication modelCommonKADS communication model
CommonKADS communication modelGuus Schreiber
 
CommonKADS knowledge modelling basics
CommonKADS knowledge modelling basicsCommonKADS knowledge modelling basics
CommonKADS knowledge modelling basicsGuus Schreiber
 
CommonKADS knowledge management
CommonKADS knowledge managementCommonKADS knowledge management
CommonKADS knowledge managementGuus Schreiber
 
CommonKADS context models
CommonKADS context modelsCommonKADS context models
CommonKADS context modelsGuus Schreiber
 
Web Science: the digital heritage case
Web Science: the digital heritage caseWeb Science: the digital heritage case
Web Science: the digital heritage caseGuus Schreiber
 
Principles and pragmatics of a Semantic Culture Web
 Principles and pragmatics of a Semantic Culture Web Principles and pragmatics of a Semantic Culture Web
Principles and pragmatics of a Semantic Culture WebGuus Schreiber
 
Semantics for visual resources: use cases from e-culture
Semantics for visual resources: use cases from e-cultureSemantics for visual resources: use cases from e-culture
Semantics for visual resources: use cases from e-cultureGuus Schreiber
 
Semantic Web: From Representations to Applications
Semantic Web: From Representations to ApplicationsSemantic Web: From Representations to Applications
Semantic Web: From Representations to ApplicationsGuus Schreiber
 
Principles for knowledge engineering on the Web
Principles for knowledge engineering on the WebPrinciples for knowledge engineering on the Web
Principles for knowledge engineering on the WebGuus Schreiber
 
The Semantic Web: status and prospects
The Semantic Web: status and prospectsThe Semantic Web: status and prospects
The Semantic Web: status and prospectsGuus Schreiber
 
NoTube: integrating TV and Web with the help of semantics
NoTube: integrating TV and Web with the help of semanticsNoTube: integrating TV and Web with the help of semantics
NoTube: integrating TV and Web with the help of semanticsGuus Schreiber
 

Mais de Guus Schreiber (20)

How the Semantic Web is transforming information access
How the Semantic Web is transforming information accessHow the Semantic Web is transforming information access
How the Semantic Web is transforming information access
 
Semantics and the Humanities: some lessons from my journey 2000-2012
Semantics and the Humanities: some lessons from my journey 2000-2012Semantics and the Humanities: some lessons from my journey 2000-2012
Semantics and the Humanities: some lessons from my journey 2000-2012
 
Ontologies: vehicles for reuse
Ontologies: vehicles for reuseOntologies: vehicles for reuse
Ontologies: vehicles for reuse
 
Linking historical ship records to a newspaper archive
Linking historical ship records to a newspaper archiveLinking historical ship records to a newspaper archive
Linking historical ship records to a newspaper archive
 
CommonKADS project management
CommonKADS project managementCommonKADS project management
CommonKADS project management
 
UML notations used by CommonKADS
UML notations used by CommonKADSUML notations used by CommonKADS
UML notations used by CommonKADS
 
Advanced knowledge modelling
Advanced knowledge modellingAdvanced knowledge modelling
Advanced knowledge modelling
 
CommonKADS design and implementation
CommonKADS design and implementationCommonKADS design and implementation
CommonKADS design and implementation
 
CommonKADS communication model
CommonKADS communication modelCommonKADS communication model
CommonKADS communication model
 
CommonKADS knowledge modelling basics
CommonKADS knowledge modelling basicsCommonKADS knowledge modelling basics
CommonKADS knowledge modelling basics
 
CommonKADS knowledge management
CommonKADS knowledge managementCommonKADS knowledge management
CommonKADS knowledge management
 
CommonKADS context models
CommonKADS context modelsCommonKADS context models
CommonKADS context models
 
Introduction
IntroductionIntroduction
Introduction
 
Web Science: the digital heritage case
Web Science: the digital heritage caseWeb Science: the digital heritage case
Web Science: the digital heritage case
 
Principles and pragmatics of a Semantic Culture Web
 Principles and pragmatics of a Semantic Culture Web Principles and pragmatics of a Semantic Culture Web
Principles and pragmatics of a Semantic Culture Web
 
Semantics for visual resources: use cases from e-culture
Semantics for visual resources: use cases from e-cultureSemantics for visual resources: use cases from e-culture
Semantics for visual resources: use cases from e-culture
 
Semantic Web: From Representations to Applications
Semantic Web: From Representations to ApplicationsSemantic Web: From Representations to Applications
Semantic Web: From Representations to Applications
 
Principles for knowledge engineering on the Web
Principles for knowledge engineering on the WebPrinciples for knowledge engineering on the Web
Principles for knowledge engineering on the Web
 
The Semantic Web: status and prospects
The Semantic Web: status and prospectsThe Semantic Web: status and prospects
The Semantic Web: status and prospects
 
NoTube: integrating TV and Web with the help of semantics
NoTube: integrating TV and Web with the help of semanticsNoTube: integrating TV and Web with the help of semantics
NoTube: integrating TV and Web with the help of semantics
 

Último

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂșjo
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Último (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

CommonKADS knowledge model templates

  • 1. Template knowledge models Reusing knowledge model elements
  • 2. Template knowledge models 2 Lessons ■  Knowledge models partially reused in new applications ■  Type of task = main guide for reuse ■  Catalog of task templates ➀  small set in this book ➀  see also other repositories
  • 3. Template knowledge models 3 The need for reuse ■  prevent "re-inventing the wheel" ■  cost/time efficient ■  decreases complexity ■  quality-assurance
  • 4. Template knowledge models 4 Task template ■  reusable combination of model elements ➀  (provisional) inference structure ➀  typical control structure ➀  typical domain schema from task point-of-view ■  specific for a task type ■  supports top-down knowledge modeling
  • 5. Template knowledge models 5 A typology of tasks ■  range of task types is limited ➀  advantage of KE compared to general SE ■  background: cognitive science/psychology ■  several task typologies have been proposed in the literature ■  typology is based on the notion of “system”
  • 6. Template knowledge models 6 The term “system” ■  abstract term for object to which a task is applied. ■  in technical diagnosis: artifact or device being diagnosed ■  in elevator configuration: elevator to be designed ■  does not need to exist (yet)
  • 7. Template knowledge models 7 Analytic versus synthetic tasks ■  analytic tasks ➀  system pre-exists –  it is typically not completely "known" ➀  input: some data about the system, ➀  output: some characterization of the system ■  synthetic tasks ➀  system does not yet exist ➀  input: requirements about system to be constructed ➀  output: constructed system description
  • 8. Template knowledge models 8 Task hierarchy knowledge-­‐ intens ive   tas k analytic tas k clas s ification s ynthetic tas k as s es s ment diagnos is configuration des ign planning s cheduling as s ignment modelling prediction monitoring des ign
  • 9. Template knowledge models 9 Structure of template description in catalog ■  General characterization ➀  typical features of a task ■  Default method ➀  roles, sub-functions, control structure, inference structure ■  Typical variations ➀  frequently occurring refinements/changes ■  Typical domain-knowledge schema ➀  assumptions about underlying domain-knowledge structure
  • 10. Template knowledge models 10 Classification ■  establish correct class for an object ■  object should be available for inspection ➀  "natural" objects ■  examples: rock classification, apple classification ■  terminology: object, class, attribute, feature ■  one of the simplest analytic tasks; many methods ■  other analytic tasks: sometimes reduced to classification problem especially diagnosis
  • 11. Template knowledge models 11 Classification: pruning method ■  generate all classes to which the object may belong ■  specify an object attribute ■  obtain the value of the attribute ■  remove all classes that are inconsistent with this value
  • 12. Template knowledge models 12 Classification: inference structure object class attribute feature truth value generate specify match obtain    
  • 13. Template knowledge models 13 Classification: method control while new-solution generate(object -> candidate) do candidate-classes := candidate union candidate-classes; while new-solution specify(candidate-classes -> attribute) and length candidate-classes > 1 do obtain(attribute -> new-feature); current-feature-set := new-feature union current-feature-set; for-each candidate in candidate-classes do match(candidate + current-feature-set -> truth-value); if truth-value = false; then candidate-classes := candidate-classes subtract candidate;
  • 14. Template knowledge models 14 Classification: method variations ■  Limited candidate generation ■  Different forms of attribute selection ➀  decision tree ➀  information theory ➀  user control ■  Hierarchical search through class structure
  • 15. Template knowledge models 15 Classification: domain schema object  type attribute value:  universal object  clas s clas s cons traint  requires   has-­‐attribute class-­‐of 2+ 1+
  • 16. Template knowledge models 16 Rock classification volcanic rock igneous rock plutonic rock s yenite diorite peridotite dunite mineral rock texture grainsize colour mineral content percentage presence 1+ mineral  content cons traint s ilicate nes o s ilicate tecto s ilicate olivine quartz minerals ontology
  • 17. Template knowledge models 17 Nested classification rock rock classifcation minerals obtain:  Quartz  percentage mineral   classification Quartz olivine sub-­‐task identify Quartz contains
  • 18. Template knowledge models 18 Rock classification prototype
  • 19. Template knowledge models 19 Assessment ■  find decision category for a case based on domain- specific norms. ■  typical domains: financial applications (loan application), community service ■  terminology: case, decision, norms ■  some similarities with monitoring ➀  differences: –  timing: assessment is more static –  different output: decision versus discrepancy
  • 20. Template knowledge models 20 Assessment: abstract & match method ■  Abstract the case data ■  Specify the norms applicable to the case ➀  e.g. “rent-fits-income”, “correct-household-size” ■  Select a single norm ■  Compute a truth value for the norm with respect to the case ■  See whether this leads to a decision ■  Repeat norm selection and evaluation until a decision is reached
  • 21. Template knowledge models 21 Assessment: inference structure case abstracted case norms norm valuedecision abstract select match specify evaluate norm
  • 22. Template knowledge models 22 Assessment: method control while new-solution abstract(case-description -> abstracted-case) do case-description := abstracted-case; end while specify(abstracted-case -> norms); repeat select(norms -> norm); evaluate(abstracted-case + norm -> norm-value); evaluation-results := norm-value union evaluation-results; until has-solution match(evaluation-results -> decision);
  • 23. Template knowledge models 23 Assessment control: UML notation abstract specify norms select norm match decision evaluate norm [more abstractions] [no more abstractions] [match fails no decision] [match succeeds: decision found]
  • 24. Template knowledge models 24 Assessment: method variations ■  norms might be case-specific ➀  cf. housing application ■  case abstraction may not be needed ■  knowledge-intensive norm selection ➀  random, heuristic, statistical ➀  can be key to efficiency ➀  sometimes dictated by human expertise –  only acceptable if done in a way understandable to experts
  • 25. Template knowledge models 25 Assessment: domain schema cas e cas e datum cas e  datum value:  universal decis ionnorm truth-­‐value:  boolean  indicates   has  abstraction    implies   decis ion rule requirement abs traction rule 1+ 1+ 1+    
  • 26. Template knowledge models 26 Claim handling for unemployment benefits :claim collect data data entry decide   about  claim compute benefit send notification prepare payment [no  right] [right] c laim  handling finac ial department
  • 27. Template knowledge models 27 Decision rules for claim handling <norm> WW    benefit requirement <decision> WW  benefit right <decision  rule> benefit  decision rule   DE FINE S insured  =  false DE F INE S W W -­‐benefit-­‐right.value  =  no-­‐right iunemployed  =  false DE F INE S W W -­‐benefit-­‐right.value  =  no-­‐right weeks-­‐worked-­‐requirement  =  false DE F INE S W W -­‐benefit-­‐right.value  =  no-­‐right insured  =  true  AND unemployed  =  true  AND weeks-­‐worked-­‐-­‐requirement  =  true  AND years-­‐worked-­‐requirement  =  false DE F INE S W W -­‐benefit-­‐right.value  =  short-­‐benefit insured  =  true  AND unemployed  =  true  AND weeks-­‐worked-­‐-­‐requirement  =  true  AND years-­‐worked-­‐requirement  =  true DE F INE S W W -­‐benefit-­‐right.value  =  long-­‐benefit
  • 28. Template knowledge models 28 Diagnosis ■  find fault that causes system to malfunction ➀  example: diagnosis of a copier ■  terminology: ➀  complaint/symptom, hypothesis, differential, finding(s)/evidence, fault ■  nature of fault varies ➀  state, chain, component ■  should have some model of system behavior ➀  default method: simple causal model ■  sometimes reduced to classification task ➀  direct associations between symptoms and faults ■  automation feasible in technical domains
  • 29. Template knowledge models 29 Diagnosis: causal covering method ■  Find candidate causes (hypotheses) for the complaint using a causal network ■  Select a hypothesis ■  Specify an observable for this hypothesis and obtain its value ■  Verify each hypothesis to see whether it is consistent with the new finding ■  Continue this process until a single hypothesis is left or no more observables are available
  • 30. Template knowledge models 30 Diagnosis: inference structure complaint cover specify select obtain hypothesis observable finding hypothesis verify result
  • 31. Template knowledge models 31 Diagnosis: method control while new-solution cover(complaint -> hypothesis) do differential := hypothesis add differential; end while repeat select(differential -> hypothesis); specify(hypothesis -> observable); obtain(observable -> finding); evidence := finding add evidence; foreach hypothesis in differential do verify(hypothesis + evidence -> result); if result = false then differential := differential subtract hypothesis until length differential =< 1 or “no observables left” faults := hypothesis;
  • 32. Template knowledge models 32 Diagnosis: method variations ■  inclusion of abstractions ■  simulation methods ■  see literature on model-based diagnosis ➀  library of Benjamins
  • 33. Template knowledge models 33 Diagnosis: domain schema system feature system observable value:  universal system state status:  universal fault prevalence:  number[0..1] system state system feature  can  cause   causal dependency
  • 34. Template knowledge models 34 Monitoring ■  analyze ongoing process to find out whether it behaves according to expectations ■  terminology: ➀  parameter, norm, discrepancy, historical data ■  main features: ➀  dynamic nature of the system ➀  cyclic task execution ■  output "just" discrepancy => no explanation ■  often: coupling monitoring and diagnosis ➀  output monitoring is input diagnosis
  • 35. Template knowledge models 35 Monitoring: data-driven method ■  Starts when new findings are received ■  For a find a parameter and a norm value is specified ■  Comparison of the find with the norm generates a difference description ■  This difference is classified as a discrepancy using data from previous monitoring cycles
  • 36. Template knowledge models 36 Monitoring: inference structure new finding select system model specifycompare classify parameter difference norm discrepancy historical data receive
  • 37. Template knowledge models 37 Monitoring: method control receive(new-finding); select(new-finding -> parameter) specify(parameter -> norm); compare(norm + finding -> difference); classify(difference + historical-data -> discrepancy); historical-data := finding add historical-data;
  • 38. Template knowledge models 38 Monitoring: method variations ■  model-driven monitoring ➀  system has the initiative ➀  typically executed at regular points in time ➀  example: software project management ■  classification function treated as task in its won right ➀  apply classification method ■  add data abstraction inference
  • 39. Template knowledge models 39 Prediction ■  analytic task with some synthetic features ■  analyses current system behavior to construct description of a system state at future point in time. ■  example: weather forecasting ■  often sub-task in diagnosis ■  also found in knowledge-intensive modules of teaching systems e.g. for physics. ■  inverse: retrodiction: big-bang theory
  • 40. Template knowledge models 40 Synthesis ■  Given a set of requirements, construct a system description that fulfills these requirements "P 166  processor  requires  16Mb" "prefer  cheapest  component"  preference    cons traint   "price  lower  than  $2,000" "fast  system"  hard  requirement    s oft  requirement   requirements (external) cons traints  &  preferences (internal)
  • 41. Template knowledge models 41 “Ideal” synthesis method ■  Operationalize requirements ➀  preferences and constraints ■  Generate all possible system structures ■  Select sub-set of valid system structures ➀  obey constraints ■  Order valid system structures ➀  based on preferences
  • 42. Template knowledge models 42 Synthesis: inference structure requirements hard requirements soft requirements possible system   structures list  of  preferred system  structures valid  system   structures constraints preferences preference ordering knowledge system composition knowledge operationalize generate select subset sort
  • 43. Template knowledge models 43 Design ■  synthetic task ■  system to be constructed is physical artifact ■  example: design of a car ■  can include creative design of components ■  creative design is too hard a nut to crack for current knowledge technology ■  sub-type of design which excludes creative design => configuration design
  • 44. Template knowledge models 44 Configuration design ■  given predefined components, find assembly that satisfies requirements + obeys constraints ■  example: configuration of an elevator; or PC ■  terminology: component, parameter, constraint, preference, requirement (hard & soft) ■  form of design that is well suited for automation ■  computationally demanding
  • 45. Template knowledge models 45 Elevator configuration: knowledge base reuse
  • 46. Template knowledge models 46 Configuration: propose & revise method ■  Simple basic loop: ➀  Propose a design extension ➀  Verify the new design, ➀  If verification fails, revise the design ■  Specific domain-knowledge requirements ➀  revise strategies ■  Method can also be used for other synthetic tasks ➀  assignment with backtracking ➀  skeletal planning
  • 47. Template knowledge models 47 Configuration: method decomposition requirements soft requirements hard requirements skeletal design design extension violation truth value action action list operationalize critique modify verify specify propose select    
  • 48. Template knowledge models 48 Configuration: method control operationalize(requirements -> hard-reqs + soft-reqs); specify(requirements -> skeletal-design); while new-solution propose(skeletal-design + design +soft-reqs - > extension) do design := extension union design; verify(design + hard-reqs -> truth-value + violation); if truth-value = false then critique(violation + design -> action-list); repeat select(action-list -> action); modify(design + action -> design); verify(design + hard-reqs -> truth-value + violation); until truth-value = true; end while
  • 49. Template knowledge models 49 Configuration: method variations ■  Perform verification plus revision only when for all design elements a value has been proposed. ➀  can have a large impact on the competence of the method ■  Avoid the use of fix knowledge ➀  Fixes are search heuristics to navigate the potentially extensive space of alternative designs ➀  alternative: chronological backtracking
  • 50. Template knowledge models 50 Configuration: domain schema design  element parameter value:  universal component model  list:  list fix  action action  type constraint design element component calculation expression constraint expression  computes   implies 1+ 1+ 1+ 1+ fix has-­‐parameter 0+ defines preference preference rating:  universal preference expression 1+
  • 51. Template knowledge models 51 Types of configuration may require different methods ■  Parametric design ➀  Assembly is largely fixed ➀  Emphasis on finding parameter values that obey global constraints and adhere to preferences ➀  Example: elevator design ■  Layout ➀  Component parameters are fixed ➀  Emphasis on constructing assembly (topological relations) ➀  Example: mould configuration ■  Literature: Motta (1999), Chandrasekaran (1992)
  • 52. Template knowledge models 52 Assignment ■  create mapping between two sets of objects ➀  allocation of offices to employees ➀  allocation of airplanes to gates ■  mapping has to satisfy requirements and be consistent with constraints ■  terminology ➀  subject, resource, allocation ■  can be seen as a “degenerative” form of configuration design
  • 53. Template knowledge models 53 Assignment: method without backtracking ■  Order subject allocation to resources by selecting first a sub-set of subjects ■  If necessary: group the subjects into subject-groups for joint resource assignment ➀  requires special type of constraints and preferences ■  Take an subject(-group) and assign a resource to it. ■  Repeat this process until all subjects have a resource
  • 54. Template knowledge models 54 Assignment: inference structure subjects subject set subject group resourceresources current allocations select subset group assign    
  • 55. Template knowledge models 55 Assignment: method control while not empty subjects do select-subset(subjects -> subject-set); while not empty subject-set do group(subject-set -> subject-group); assign(subject-group + resources + current-allocations -> resource); current-allocations := < subject-group, resource > union current-allocations; subject-set := subject-set/subject-group; resources := resources/resource; end while subjects := subjects/subject-set; end while
  • 56. Template knowledge models 56 Assignment: method variations ■  Existing allocations ➀  additional input ■  subject-specific constraints and preferences ➀  see synthesis and configuration-design
  • 57. Template knowledge models 57 Planning ■  shares many features with design ■  main difference: "system" consists of activities plus time dependencies ■  examples: travel planning; planning of building activities ■  automation only feasible, if the basic plan elements are predefined ■  consider use of the general synthesis method (e.g therapy planning) or the configuration-design method
  • 58. Template knowledge models 58 Planning method plan  goal hard requirements soft requirements possible plans list  of  preferred plans valid  plans constraints preferences preference ordering knowledge plan composition knowledge operationalize generate select subset sort requirements
  • 59. Template knowledge models 59 Scheduling ■  Given a set of predefined jobs, each of which consists of temporally sequenced activities called units, assign all the units to resources at time slots ➀  production scheduling in plant floors ■  Terminology: job, unit, resource, schedule ■  Often done after planning (= specification of jobs) ■  Take care: use of terms “planning” and “scheduling” differs
  • 60. Template knowledge models 60 Scheduling: temporal dispatching method ■  Specify an initial schedule ■  Select a candidate unit to be assigned ■  Select a target resource for this unit ■  Assign unit to the target resource ■  Evaluate the current schedule ■  Modify the schedule, if needed
  • 61. Template knowledge models 61 Scheduling: inference structure job schedule candidate unit target resource truth value specify modify verify assign select select    
  • 62. Template knowledge models 62 Scheduling: method control specify(jobs -> schedule); while new-solution select(schedule -> candidate-unit) do select(candidate-unit + schedule -> target-resource); assign(candidate-unit + target-resource -> schedule); evaluate(schedule -> truth-value); if truth-value = false then modify(schedule -> schedule); end while
  • 63. Template knowledge models 63 Scheduling: method variations ■  Constructive versus repair method ■  Refinement often necessary ➀  see scheduling literature ➀  catalog of Hori (IBM Japan)
  • 64. Template knowledge models 64 Scheduling: typical domain schema s chedule job release-­‐date:  time due-­‐date:  time unit start:  time end:  time resource-­‐type:  string res ource type:  string start-­‐time:  time end-­‐time:  time includes {dynamically   linked} {temporally ordered} job  unit preference cons traint is  performed  at res ource capacity cons traint
  • 65. Template knowledge models 65 Modeling ■  included for completeness ■  "construction of an abstract description of a system in order to explain or predict certain system properties or phenomena" ■  examples: ➀  construction of a simulation model of nuclear accident ➀  knowledge modeling itself ■  seldom automated => creative steps ➀  exception: chip modeling
  • 66. Template knowledge models 66 In applications: typical task combinations ■  monitoring + diagnosis ➀  Production process ■  monitoring + assessment ➀  Nursing task ■  diagnosis + planning ➀  Troubleshooting devices ■  classification + planning ➀  Military applications
  • 67. Template knowledge models 67 Example: apple-pest management mintor crop identify pest plan   measure execute plan [possible  threat] [possible  pest]
  • 68. Template knowledge models 68 Comparison with O-O analysis ■  Reuse of functional descriptions is not common in O- O analysis ➀  notion of “functional” object ■  But: see work on design patterns ➀  strategy patterns ➀  templates are patterns of knowledge-intensive tasks ■  Only real leverage from reuse if the patterns are limited to restricted task types