Soft Computing Question Bank
Soft Computing Question Bank
Soft Computing Question Bank
TIRUCHENDUR
QUESTION BANK
Two Marks :
1
5. Draw the model of Artificial neuron
A neural network is characterized by its pattern of connections between the neurons called its
architecture. f(x) = 1/(1+exp(-x)).
2
vector. The weights are adjusted according to the learning algorithm. This process is known
as supervised training.
A sequence of input vector is provided, but no target vectors are specified. The net modifies
the weights so that the most similar input vectors are assigned to the same output unit.
11. Define identity function. Define binary step function with example ?
12. Define delta rule? Explain significance of delta rule in defining the weights?
The weights represent information being used by the net to solve problem. The delta rule
changes the weights of the neural connections so as to minimize the difference between the
net input to the output unit and the target value.
BIG QUESTIONS:
3
2. Draw the structure and algorithm of ADALINE and MADALINE net.
3. Draw the structure and explain the algorithm of back propagation net.
Two Marks:
Hebb proposed that learning occurs by modification of the synapse strengths (weights) in
a manner such that if two interconnected neurons are both on at the same time, then the
weights between these neurons should be increased.
4
problems such as pattern recognition and prediction. It typically consists of a comparison
field and a recognition field composed of neurons, a vigilance parameter (threshold of
recognition), and a reset module.
Art 1 is designed to work for continuous valued input vectors while ART1 is used for
binary valued input vectors. ART2 requires preprocessing of input vectors but ART1
does not require it. ART2 treats small components as noise and does not distinguish
between patterns that are merely scaled varieties of each other.
A neural net that is trained to associate a set of input vectors with a corresponding set of
output vectors is called associative memory. Associative memory neural networks are
nets in which the weights are determined in such a way that the net can store a set of P
pattern associations. If the desired output vector is same as the input vector, the net is an
auto associative memory. If the desired output vector is different from the input vector,
the net is a hetero associative memory.
5
11. Differentiate Hopfield and Boltzmann machine
Adaptivity
Adapt weights to environment and retrained easily
Generalization ability
Ability to work for unseen data
Fault tolerance
Able to work even with partial and noisy data
BIG QUESTIONS
Two Marks:
Fuzzy logic is a form of many-valued logic which deals with reasoning that is
approximate rather than fixed and exact. Compared to traditional binary sets (where
variables may take on true or false values), fuzzy logic variables may have a truth
6
value that ranges in degree between 0 and 1. Fuzzy logic has been extended to handle
the concept of partial truth, where the truth value may range between completely true
and completely false
Fuzzy logic can be used where the system cannot be modelled by mathematical
equation and where human knowledge and perception needs to be involved.
Fuzzy Complement
Fuzzy Union
Fuzzy Intersection
Combinations of Operations
General Aggregation Operations
UNION:
The membership function of the Union of two fuzzy sets A and B with membership
functions µA and µB respectively is defined as the maximum of the two individual
membership functions. This is called the maximum criterion.
INTERSECTION:
The membership function of the Intersection of two fuzzy sets A and B with
membership functions µA and µB respectively is defined as the minimum of the two
individual membership functions. This is called the minimum criterion.
7
7. State the properties of fuzzy set
A fuzzy subset of X is called normal if there exists at least one element χ∈X such that
µA (χ)=1. A fuzzy subset that is not normal is called subnormal.
8
12. Define support and core in fuzzy set
Triangular
Trapezoidal
Gaussian
Generalized Bell
The cartesian or cross product of fuzzy subsets A and B, of sets X and Y respectively
is denoted as A × B
This cross product relationship T on the set X × Y is denoted as T = A × B
The number of members of a finite discrete fuzzy set A is called cardinality of fuzzy
set A and is denoted by |A|
That is, the alpha-cut (or the strong alpha-cut) of a fuzzy set A is the crips set aA (or the
crisp set a+A) that contains all the elements of the universal set X whose membership
grades in A are greater than or equal to (or only greater than) the specified value of
alpha." aA and a+A are crisp sets because a particular value x either is or isn't in the set;
there is no partial membership.
17. What are the steps in fuzzy logic
9
Defuzzification
Max-membership principle
Centroid method
Weighted average method
Mean-max membership
Centre of sums
Centre of largest area
BIG QUESTIONS :
TWO MARKS:
10
Reproduction is a process in which individual strings are copied according to their objective
function values f.
8. Define diversity
Diversity refers to the average distance between individuals in a population. A population has
high diversity if the average distance is large; otherwise it has low diversity.
9. Define elite children
Elite children are the individuals in the current generation with the best fitness values. These
individuals automatically survive to the next generation.
11
10. Name the stopping criteria used in genetic algorithm
Generations — The algorithm stops when the number of generations reaches the value of
Generations.
Time limit — The algorithm stops after running for an amount of time in seconds equal to Time
limit.
Fitness limit — The algorithm stops when the value of the fitness function for the best point in
the current population is less than or equal to Fitness limit.
Stall generations — The algorithm stops when the weighted average change in the fitness
function value over Stall generations is less than Function tolerance.
Stall time limit — The algorithm stops if there is no improvement in the objective function
during an interval of time in seconds equal to Stall time limit.
Function Tolerance — The algorithm runs until the weighted average change in the fitness
function value over Stall generations is less than Function tolerance
Tabu search is a higher level heuristic procedure for solving optimization problems, designed to
guide other methods to escape the trap of local optimality.
The ant colony optimization algorithm (ACO) is a probabilistic technique for solving
computational problems which can be reduced to finding good paths through graphs. This
algorithm is a member of the ant colony algorithms family, in swarm intelligence methods, and
it constitutes some meta heuristic optimizations. It is based on the behavior of ants seeking a
path between their colony and a source of food.
BIG QUESTIONS:
1. Explain genetic algorithm in detail
Book : Genetic Algorithms by David E.Goldberg
Pages: 61-67
2. Expalin with an example the adjustment of genetic algorithm parameters
Book : Genetic Algorithms by David E.Goldberg
Pages: 97-103
12
UNIT V APPLICATIONS
TWO MARKS:
1. What are the applications of fuzzy logic?
13
Constrained load flow
Power plant operation optimizer
Unit commitment – economic dispatch
Optimal power flow
FACTS (Flexible AC Transmission System) control
Voltage/VAr and loss reduction
Dynamic load modeling
Short-Term load forecast
Network reconfiguration and load reduction
14
10. Name some fuzzy application areas in power system
Contingency analysis
Diagnosis/monitoring
Distribution planning
Load frequency control
Generator maintenance scheduling
Generation dispatch
Load flow computations
Load forecasting
Load management
Reactive power/voltage control
Security assessment
Stabilization control (PSS)
Unit commitment
BIG QUESTIONS
15
ANNA UNIVERSITY QUESTION PAPER
MAY/JUNE 2015
PART A
16
5. What is approximate reasoning?
By approximate reasoning, we mean a type of reasoning which is neither very exact nor
very inexact. it is the process or processes by which a possible imprecise conclusion is
deduced from a collection of imprecise premises. In a simplest way, we can say that,
fuzzy logic plays a key role in approximate reasoning.
6. What are the methods of defuzzification?
Max-membership principle
Centroid method
Weighted average method
Mean-max membership
Centre of sums
Centre of largest area
where 𝑁 is the number of individuals in the population. This could be imagined similar to a
Roulette wheel in a casino. Usually a proportion of the wheel is assigned to each of the
possible selections based on their fitness value. This could be achieved by dividing the
fitness of a selection by the total fitness of all the selections, thereby normalizing them to 1.
Then a random selection is made similar to how the roulette wheel is rotated.
17
10. What are the applications of neural network in Power systems?
Contingency analysis
Diagnosis/monitoring
Distribution planning
Load frequency control
Generator maintenance scheduling
Generation dispatch
Load flow computations
Load forecasting
Load management
Reactive power/voltage control
Security assessment
Stabilization control (PSS)
Unit commitment
PART B
11. (a) (i) Explain with a neat diagram, the neural network architecture of multilayer feed
forward network (10)
(b) (i) Draw and describe the different activation functions used in ANN (8)
(ii) Explain the various steps of back propagation algorithm used in training ANN(8)
18
Book: Fundamentals of Neural Network by Laurene Fausett
Pages:290-306
12. (a) (i) Develop and describe with a neat diagram the Counter Propagation network
learning algorithm (8)
(ii) Describe with a neat diagram the architecture of recurrent network to perform XOR
task with two inputs (8)
Book: Fundamentals of Neural Network by Laurene Fausett
Pages:135-140
13. (a) (i) Explain with a neat block diagram, the various components of a Fuzzy Logic
system (10)
(ii) Explain the implementation of Fuzzy Logic control for nonlinear time delay system
(8)
Text Book: Fuzzy Logic with Engineering Applications by Timothy J.Ross
Page : 475-483
19
14. (a) (i) Describe the basic steps of Genetic Algorithm used for solving optimization
problems (10)
(ii) Compare the features of Genetic Algorithm with other optimization techniques(6)
(b) (i) Describe the concept of tabu search method for solving optimization problems(8)
(ii) Describe the concept of ant colony search method for solving optimization problems
15. (a) Explain the case study of GA application to solve Power system optimization
problems (16)
(b) Explain the case study of the application of Neural network for stability analysis of
interconnected systems (16)
PART A
20
partial truth, and approximation. In effect, the role model for soft computing is the
human mind.
5. What is an empty fuzzy set and what do you mean by height of a fuzzy set?
An empty fuzzy set is a function that for every u in the set U assumes the value of zero.
Using the notation just described, we can write this set in the following way.
21
population and hence does not fall in local maxima or minima compared to other
conventional methods.
9. A modern fully automatic washing machine is fixed with what type of intelligent
control? Define the input and output of the system
A modern fully automatic washing machine is fixed with neuro fuzzy control since it
involves human knowledge. The input is water, detergent and the panel setting the type
of cloth. The output is clean washed clothes.
Load Auto Sensor: This sensor will use to determine the size of a load of dirty clothes,
and then add the appropriate amount of water to the washing machine.
Temperature Control: It adjust the water to the correct temperature for the cycle you
are using. Automatic Dispensers: Automatic dispensers for bleach, detergent at the
appropriate time in the cycle.
Fuzzy Control: It will contain load sensors, which indicates the water and detergent
amount that is required.
Neuro-fuzzy Control: It features sensors that automatically detects the fabric type and
determine the detergent and water needed.
PART B
ii. Explain the single perceptron with its learning algorithm and its separability
and convergence property
22
b. Explain back propagation for feed forward network to find the gradient vector in a
network
ii. Construct and test a heteroassociative memory net to store the given vector pairs
S(3)= (0 1 0 0) , t(3) = (1 0)
S(4) = (1 1 0 0) , t(4) = (1 0)
13. a. i. The discretized membership functions for a transistor and resisitor are given
below:
Find the following (a) Algebraic sum (b) Algebraic product (c) bounded sum and (d)
bounded difference
Algebraic sum =
{max(0,0),max(0.2,0.1),max(0.7,0.3),max(0.8,0.2),max(0.9,0.4),max(1,0.5)}
23
={0,0.2,0.7,0.8,0.9,1}
Algebraic Difference =
{min(0,0),min(0.2,0.1),min(0.7,0.3),min(0.8,0.2),min(0.9,0.4),min(1,0.5)}
={0,0.1,0.3,,0.2,0.4,,0.5}
ii. Explain self organising FLC. Mention its advantages over fuzzy logic controller
b. i. If x is A, then y is B is S where ‘S’ is fuzzy truth qualifier and a fact is in the form
“x is A”, we want to make an inference in the form “y is B”. Develop a method based on
the truth value restrictions for getting the inference
ii. Sketch the block diagram of fuzy logic controller for a nonlinear process
13. a. Explain the major components of GA and apply GA to maximize the “Peaks”
functions
15. a. Using Matlab Neural network tool box discuss how will you identify and control
the linear and nonlinear dynamic system
Book :
Page :
PART C
16. a. Consider four travel packages offered by Celtic Club Mahindra, Metro and
Himalaya Travels. We want to choose one. Their costs are INR 100.000, INR
200.000, INR 150.000 INR 175.000. Their travel time in hours are 150,200,,100 and
125 respectively. They are viewed as interesting with degrees 0.4,0.3,0.6 and 0.5.
Define your own fuzzy set of acceptable travel times. Then determine the fuzzy set
of interesting travel packages whose cost and travel times are acceptable and use
this set to choose one of your own packages.
Solution attached as Annexure
b. Assume a typical control problem of yours and explain the various steps involved
in finding a solution using GA
Notes
NOVEMBER/DECEMBER 2016
PART A
1. What are supervised learning and unsupervised learning?
Learning the input vectors in the presence of target vector is called supervised learning.
In the case of unsupervised learning, a sequence of input vector is provided, but no target
vectors are specified. The net modifies the weights so that the most similar input vectors
are assigned to the same output unit.
25
2. Draw the basic model of a Madaline network
Contains n units of input layer, m units of adaline layers, 1 unit of madaline layer
5. What is an empty fuzzy set and define the height of a fuzzy set?
An empty fuzzy set is a function that for every u in the set U assumes the value of zero.
Using the notation just described, we can write this set in the following way.
26
8. State two features of Ant colony algorithm
The ant colony optimization algorithm (ACO) is a probabilistic technique for solving
computational problems which can be reduced to finding good paths through graphs.
This algorithm is a member of the ant colony algorithms family, in swarm
intelligence methods, and it constitutes some meta heuristic optimizations. It is based on
the behavior of ants seeking a path between their colony and a source of food.
Two-point crossover calls for two points to be selected on the parent organism strings.
Everything between the two points is swapped between the parent organisms, rendering
two child organisms
Example
Parent 1: 10|00000|01 Child 1: 101111101
Parent 2: 01|11111|10 Child 2: 010000010
Part B
11. a. Explain the working of back propagation neural network with neat architecture
and flowchart
Book: Fundamentals of Neural Network by Laurene Fausett
Pages:290-306
b. What is self organising map and discuss the algorithm and features of Kohonen’s
map?
Xerox attached
27
Text Book : Fuzzy Logic with Engineering Applications by Timothy J.Ross
Page : 136-137
b. Explain the working of self organising FLC. Mention its advantages over fuzzy
logic controller
14. a. Explain the various phases of GA to control a nonlinear time delay system
b. Explain compare and contrast Ant colony and Tabu search algorithm
15. a. How stability is ensured in Fuzzy control system? Analyze with reference to
global network computation
Text Book: Fuzzy Logic with Engineering Applications by Timothy J.Ross
Page : 477-483
16. a. Describe briefly modelling and implementation of FLC for inverter pendulum
Book: Neural Networks and Fuzzy Logic by Bart Kosko
Pages: 484-489
b. i. Using Matlab neural network tool box discuss how will you identify and control
the linear and nonlinear dynamic system
Notes
28
ME DEGREE EXAMINATION, MAY/JUNE 2017
29
7. List the learning methods of back propagation network
9. Name any two search techniques used for solving optimization problems
Particle swarm optimization, Genetic algorithm, Ant Colony optimization, Tabu search
Matlab toolbox are interactive applications written to perform technical computing tasks. They
are designed to create and test several applications without writing full coding. Toolboxes allow
you to learn and apply specialized technology. Toolboxes are comprehensive collections of
MATLAB functions (M-files) that extend the MATLAB environment to solve particular classes
of problems. Areas in which toolboxes are available include signal processing, control systems,
neural networks, fuzzy logic, wavelets, simulation, and many others.
30
M.E/M.TECH DEGREE EXAMINATION, JANUARY 2018
PART A
2. List the various types of soft computing techniques and mention some application
areas for neural network
Neural Networks, Support Vector Machine, Fuzzy Logic, Evolutionary Algorithm,
Genetic Algorithm, Machine Learning (ML) and Probabilistic Reasoning (PR), Ant
colony optimization, Particle swarm optimization, cuckoo search algorithm
Applications of neural network
Pattern recognition, Satellite image classification, Weather forecasting
Stock prediction, Data compression, Data Mining
Contingency analysis , Diagnosis/monitoring, Distribution planning
Load frequency control, Generator maintenance scheduling
Generation dispatch, Load flow computations
Load forecasting, Load management, Unit commitment
31
ambiguously specified. In crisp set an element either belongs to the set or it does not
belong to it. In fuzzy set an element belongs to one or more sets.
32
commonly used in binary encoding. Interchanging Mutation- Two random positions of
the string are chosen and the bits corresponding to those positions are interchanged.
7) Reversing Mutation- In case of reversing mutation applied for binary encoded
chromosome, random position is chosen and the bits next to that position are reversed
and child chromosome is produced .
8) Uniform Mutation- The Mutation operator changes the value of chosen gene with
uniform random value selected between the user specified upper and lower bound for
that gene. It is used in case of real and integer representation.
9) Creep Mutation- In creep mutation, a random gene is selected and its value is
changed with a random value between lower and upper bound. It is used in case of real
representation .
Part B
If x is A, then y is B is S where ‘S’ is fuzzy truth qualifier and a fact is in the form “x is
A”, we want to make an inference in the form “y is B”. Develop a method based on the
truth value restrictions for getting the inference
Fuzzy Propositions Fuzzy logic deals with the degree of truth of fuzzy propositions,
which can be conditional, qualified, or both, as well as simple. A simple, unconditional
and unqualified, proposition states that a variable element belongs to a fuzzy set, as in
“the age of x is old”. For a particular element, the degree of truth of the proposition is
interpreted as the degree of membership of this element to the fuzzy set. In this way, any
fuzzy proposition can be interpreted as a possibility distribution function that is equal to
the membership function of the fuzzy set. A simple proposition p has the form: p : V is F
, p : V(i) is F, when it is important to discuss the individual element referred to by the
proposition, as in “The age of John is old”. It is possible to apply hedges to propositions
33
the way that we apply adverbs to adjectives, as in “the age of x is very old”. A qualified
fuzzy proposition is a simple fuzzy proposition modified by a fuzzy truth qualifier or a
fuzzy probability qualifier, as in “ ‘the age of x is old’ is likely”3 or “ ‘the probability
that the age of x is old’ is high”. They describe the degree of truth or the probability of
the original proposition. Simple fuzzy propositions are equivalent to qualified
propositions where the truth qualifier is “is true”. Qualified fuzzy propositions, p, take
the form: p: V is F is S or p: Pro{V is F} is P. Conditional propositions discuss the
implication of one fuzzy proposition from another, as in “If age is old, then strength is
feeble”. Conditional propositions, i.e. fuzzy implications, are very important to develop
fuzzy systems, since fuzzy rules can be seen as conditional propositions. They take the
form: p: If X is A, then Y is B. Propositions can also be quantified, i.e., we can also make
statements about to how many elements of a set a proposition are true. For example:
“most engineering students have good knowledge of math” or “about one sixth of the
students have no knowledge of it”. Quantified propositions are handy tools in datamining
engines.
The classical inference rules of modus ponens, modus tollens, and hypothetical
syllogism can be generalized for fuzzy logic and used to support approximate reasoning.
The Modus ponens deduction rule allows us to deduce the truth of the consequent of an
implication based on the truth of the antecedent.
Since most fuzzy systems use if-then rules (implications) and a single forward
pass, the generalization of modus ponens is of extreme importance to fuzzy logic. Given
an implication “if p then q” and the fact that p is true, modus ponens deduces q. If p and
q are fuzzy propositions (X is A) and (Y is B), and A * and B * are fuzzy sets in X and
Y, then the following schema represents generalized modus ponens: IF X IS A, then Y is
B X is A* — Y is B* Since Y is B* is a fuzzy proposition, it must be possible to deduce
its possibilistic distribution, i.e., the membership function of B *. This is performed using
one of many available compositional rules of inference: B * = A* o R, such as mB
*(y)=sup(min(mA *(x),mR(x,y)) where R is the vector describing the relationship
between sets A and B. There are four important classes of fuzzy implication
operators[4,5]: 1. S-implications, based on the formalism p®q = Ø p Ú q; 2. QL-
implications, based on p®q = Øp Ú (pÙq); 3. R-implications, based on p®q = sup{r Î
[0;1] | (p Ù r) £q }, and 4. t-norm-implications, based on p®q = pÙq (false in boolean
logic).
34
35