Introduction To Soft Computing
Introduction To Soft Computing
1
INTRODUCTION TO SOFT COMPUTING
• Concept of computation
• Hard computing
• Soft computing
• How soft computing?
• Hard computing vs. Soft computing
• Hybrid computing
Debasis Samanta
CSE
2
IIT Kharagpur
CONCEPT OF COMPUTATION
Control Action
𝑦 = 𝑓 𝑥 , 𝑓 is a mapping function.
𝑓 is also called a formal method or an algorithm to solve a problem.
Debasis Samanta
CSE
3
IIT Kharagpur
Important characteristics of computing
Debasis Samanta
CSE
4
IIT Kharagpur
Hard computing
Debasis Samanta
CSE
5
IIT Kharagpur
Examples of hard computing
• Solving numerical problems (e.g., roots of polynomials,
integration, etc.).
• Searching and sorting techniques.
• Solving computational geometry problems (e.g., shortest
tour in a graph, finding closet pair of points given a set of
points, etc.).
• many more…
Debasis Samanta
CSE
6
IIT Kharagpur
Soft computing
• The term soft computing was proposed by the inventor of
fuzzy logic, Lotfi A. Zadeh. He describes it as follows.
Definition 1: Soft computing
Soft computing is a collection of methodologies that aim to exploit the
tolerance for imprecision and uncertainty to achieve tractability, robustness,
and low solution cost. Its principal constituents are fuzzy logic, neuro-
computing, and probabilistic reasoning. The role model for soft computing is
the human mind.
Debasis Samanta
CSE
7
IIT Kharagpur
Characteristics of soft computing
• It does not require any mathematical modeling of problem solving.
• It may not yield the precise solution.
Debasis Samanta
CSE
8
IIT Kharagpur
Examples of soft computing
Soft
computing
⋮
Debasis Samanta
CSE
9
IIT Kharagpur
Examples of soft computing
Debasis Samanta
CSE
11
IIT Kharagpur
How soft computing?
• How a student learns from his teacher?
• Teacher asks questions and tell the answers then.
• Teacher puts questions and hints answers and asks whether the
answers are correct or not.
• Student thus learn a topic and store in his memory.
• Based on the knowledge he solves new problems.
• This is the way how human brain works.
• Based on this concept Artificial Neural Network is used to solve problems.
Debasis Samanta
CSE
12
IIT Kharagpur
How soft computing?
• How world selects the best?
• It starts with a population (random).
• Reproduces another population (next generation).
• Rank the population and selects the superior individuals.
• Genetic algorithm is based on this natural phenomena.
• Population is synonymous to solutions.
• Selection of superior solution is synonymous to exploring the optimal
solution.
Debasis Samanta
CSE
13
IIT Kharagpur
How soft computing?
• How a doctor treats his patient?
• Doctor asks the patient about suffering.
• Doctor find the symptoms of diseases.
• Doctor prescribed tests and medicines.
• This is exactly the way Fuzzy Logic works.
• Symptoms are correlated with diseases with uncertainty .
• Doctor prescribes tests/medicines fuzzily.
Debasis Samanta
CSE
14
IIT Kharagpur
Hard computing vs. Soft computing
Hard computing Soft computing
It requires a precisely stated It is tolerant of imprecision,
analytical model and often a lot of uncertainty, partial truth, and
computation time. approximation.
It is based on binary logic, crisp
It is based on fuzzy logic, neural
systems, numerical analysis and
nets and probabilistic reasoning.
crisp software.
It has the characteristics of precision It has the characteristics of
and categoricity. approximation and dispositionality.
Debasis Samanta
CSE
15
IIT Kharagpur
Hard computing vs. Soft computing
Debasis Samanta
CSE
16
IIT Kharagpur
Hybrid computing
• It is a combination of the conventional hard computing and
emerging soft computing.
HC SC
Hybrid computing
Debasis Samanta
CSE
17
IIT Kharagpur
In this course…
• You will be able to learn
• Basic concepts of Fuzzy algebra and then how to solve problems using
Fuzzy logic.
• How to build an artificial neural network and train it with input data to
solve a number of problems, which are not possible to solve with hard
computing.
Debasis Samanta
CSE
18
IIT Kharagpur
Debasis Samanta
CSE
19
IIT Kharagpur