Module – II
Module – II
Hardware
• Processor: The central processing unit (CPU)
• Memory: The hard disk and other memory
• Display devices: Monitors and projectors
• Input devices: The keyboard and mouse
• Sensing devices: Sensors and scanners
Software
• Machine learning (ML) algorithms: Make predictions and decisions based on
data analysis
• Neural networks: Model and solve complex tasks
• Fuzzy logic: Handles uncertainty in decision-making
3/12/2025 Knowledge Engineering - Dr Sanjay 2
Components of intelligent systems
Data
• Sensors: Collect data from the environment
• Cameras: Collect data from the environment
• Internet: Collect data from various sources
Learning
• ML techniques: Allow systems to adapt and improve their performance
• Feedback and improvement: Allow systems to learn from experience
Miscellaneous components
• Algorithms: Process and analyze data
• Automation: Reduces the need for human intervention
• User interface (UI): Allows an external agent to communicate with the
system
3/12/2025 Knowledge Engineering - Dr Sanjay 3
Knowledge Based
Systems
Knowledge Inference
Explanation base engine
Self-
and
learning
reasoning
User interface
Provides
explanation and
reasoning Friendly
facilities interface to
users working
Components of KBS in their native
language
• Neural networks
• Case-based reasoning
• Genetic algorithms
• Intelligent agents
Providing incremental
SAINT, MATHLAB,
Debugging solutions for complex
MACSYMA
problems
Executing a plan to
Toxic Spill Crisis
Repair administer a prescribed
Management
remedy
Explanation Knowledge
Facility Acquisition
Facility
User Interface
• Uncertainty
– If A is false, then B is true with probability P
– Introducing Probabilistic Reasoning
– Doctor examines a patient, and X symptoms exist
but some of them missing, so doctor can
conclude: a patient has disease X with probability
P
• Availability
– The multiple users can access an ES simultaneously and get
responses immediately
• Persistence/Accessibility
– The ESs are always available. They can be accessed anytime
24*7. It is one of the important advantages of an expert
system over the human experts.
• Specific
– The ESs are generally developed for a specific domain, on
the other hand a human expert can be specialized in more
than one area
3/12/2025 Knowledge Engineering - Dr Sanjay 32
Disadvantages of ES
• Emotionless
– The human experts have a sort of awareness about the
situation, that means how they feel, how they effective in
the situation. But the ESs have no awareness about any
situation that they face
• Commonsense
– An ES has to go through by following the rules and
regulations as they programmed, so it can’t provide a
solution for the totally new kind of problem
Dendrites: Input
Cell body: Processor
Synaptic: Link
Axon: Output
How do ANNs work?
Processing ∑
∑= X1+X2 + ….+Xm =y
Output y
How do ANNs work?
Not all inputs are equal
............
xm x2 x1
Input
wm ..... w2 w1
weights
Processing ∑ ∑= X1w1+X2w2 + ….+Xmwm
=y
Output y
How do ANNs work?
The signal is not passed down to the
next neuron verbatim
............
xm x2 x1
Input
wm ..... w2 w1
weights
Processing ∑
Transfer Function
f(vk)
(Activation Function)
Output y
Artificial Neural Network
• Unsupervised learning
– the training data is unlabeled, the system tries to learn without a
teacher
• Adaptive learning
• Self-organization
• Error tolerance
• Real-time operation
• Reuse
– Map the solution and reuse the best old solution to solve the current case
• Revise
– Test the solution and, if necessary, revise the old case to come up
with the solution
• Retain
– After the solution has been successfully adapted to the target problem,
store the resulting experience as a new case
• Medical diagnosis
• Aircraft troubleshooting
• Disadvantages
– Storing of cases in the KB
– Implicit link between problem and solution
– Access and retrieval speed
3/12/2025 Knowledge Engineering - Dr Sanjay 56
Genetic
Algorithms
– Scheduling
– Telecommunications
• Fitness function
– A measure of the objective to be obtained
• Generation
– An iteration of the genetic algorithmic process in which
candidate solutions are combined to produce offspring
• Crossover
– The combining of parts of two superior solutions by a genetic
algorithm in an attempt to produce an even better solution
• Mutation
– A genetic operator that causes a random change in a
potential solution
3/12/2025 Knowledge Engineering - Dr Sanjay 61
Genetic Algorithm Process
– Mutation probability
– Probability distribution of crossover point occurrence
• Limitations
– Not all problems can be framed in the mathematical manner that
genetic algorithms demand
• Proactiveness
– Agents are able to exhibit goal-directed behavior by taking initiative
• Social ability
– Agents are capable of interacting with other agents in order to satisfy
their design objectives
• Autonomy
– Agents must have control over their own actions and be able to work and
launch actions independently of the user or other actors
– Example: A taxi agent might know that the Golden Gate Bridge
connects San Francisco with the Marin County.
• Logical Level
– The level at which the knowledge is encoded into sentences
• Implementation Level
– The physical representation of the sentences in the logical level
– Supporting e-commerce
• Performance
• Multi agents
• Cost justification
• Ethical issues
• Acceptance
3/12/2025 Knowledge Engineering - Dr Sanjay 74
References
• Russell, Stuart; Norvig, Peter (1995). Artificial Intelligence: A Modern
Approach