Soft Computing Numericals
Soft Computing Numericals
NUMERICALS
Questions
QUESTION1)
The task is to recognize English alphabetical characters (F, E,
X, Y, I, T) in an image processing system. Two fuzzy sets
I and F are defined to represent the identification of
characters I and F.
GI=((F, 0.4), (E, 0.3), (X, 0.1), (Y, 0.1), (1, 0.9), (T, 0.8))
F =((F, 0.99), (E, 0.8), (X, 0.1), (Y, 0.2), (1, 0.5), (T, 0.5)) Find the
following:
i. IuF ii. I-F iii. FUF iv. Verify de Morgan's law
QUESTION2)
let sets of values of variables X and Y be X = (x, xxg) and (xx)
Y=(y,,y2), respectively. Assume that a proposition "if X is a,
then Y is B" is given, where A = .5/x, + 1/x+.6/x, and B=1/y,+
Aly. Then, given a fact expressed by the proposition "x is A'",
where A'= .6/x, +.9/x2+.7/x, use the generalized modus
ponens to derive a conclusion in the form "Y is B"
Q6) Given
1) C v D
2) -H⇒(A ꓥ ~B)
3) (C V D) --> ~H
4) (A ꓥ ~B)⇒(RVS)
Can (R v S) be inferred from inference rules?
Q9)
Use the Hebb rule of discrete BAM, find the weight matrix to
store the following (binary) input-output pattern pairs. S(1) =
(1, 1, 0) , t(1) = (1,0) , S(2) = (0,1,0) t(2) = (0,1)
Using binary and bipolar step functions as the activation
functions test the response of the network on each of the
input pattern?
Q10)
Let R be a crisp relation among the two sets {X =
dollar ,pound, franc, mark) and Y = (United States, France,
Canada, Britain, Germany), which associates a country with a
currency. Represent it as a fuzzy relation using 2-dimensional
membership array.
Q11)
Q12)
Consider four travel packages offered by Thomas Cook, Club
Mahindra, World around, and Himalaya Travels.
We want to choose one. Their costs are INR 100,000, INR
200,000, INR 150,000 and INR 175,000. Their travel time in
hours is 150, 200, 100, and 125 respectively. They are viewed
as interesting with degrees 0.4, 0.3, 0.6, 0.5. Define your own
fuzzy set of interesting travel packages whose cost and travel
times are acceptable and use this set to choose one of your
own packages.
Q13)
Given a conditional and qualified Fuzzy proposition 'P' of the
form. P: 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.
Q14)
Use the Hebb rule of discrete BAM, find the weight matrix to
store the following (binary) input output pattern pairs:
S(1) = (1, 1, 0) t(1) = (1, 0)
S(2) = (0, 1, 0) t(2) = (0,1)
Q15)
Find the weights required to perform the following
classification using perceptron network. The vectors (1, 1, 1,
1) and (-1, 1,-1,-1) are belonging to the class (so have target
1), vectors (1, 1, 1,-1) and (1,-1,-1,1) are not belonging to the
class (so have target value -1), Assume learning rate is 1 and
weights is 0.
Q16)
Use GA to solve the following non-linear programming
problem:
Minimize (x-2.5)2+(y-5)2 subject to 5.5x+2y2 -18≤0 ,0≤x, y≥ 5
Q17) Use the Hebb rule to find the weight matrix to store the
following (binary) input output pattern.X(1)=(101)
r(1)=(10)X(2)=(010) r(2) = (01)
Q18)
Using the binary step function (with threshold 0) as the
activation function for both layers, test the response of your
network in both directions of each binary training pattern.
Initial activation of the other layers is set to zero.
Q22) For the given input vectors S = (S1, S2, S3, S4) and
output vector T = (T1, T), find the weight matrix using hetero
associative training algorithm.
S=(S1, S2, S3, S) T= (T,, T2)
1) (1,1,0,0) (0,1)
2) (1,0,0,1) (1,1)
3) (1, 1, 0, 0) (1,0)
4) (0, 1, 0, 1) (0,0)