Intelligent Systems Tutorial
Intelligent Systems Tutorial
1. Using the Genetic Algorithm, maximize the function f(x) = x^3 with x in the interval
[0, 50], where x = 0, 1, 2, ..., 50.
2. Apply the Genetic Algorithm to minimize the function f(x) = (x - 10)^2 for x in the
range [0, 31], where x = 0, 1, 2, ..., 31.
3. Using the Genetic Algorithm, find the maximum value of the function f(x) = 2x + x^2
for x in the range [0, 20], where x = 0, 1, 2, ..., 20.
4. Use the Genetic Algorithm to find the value of x that minimizes f(x) = |x - 15| for x in
the set {0, 1, 2, ..., 31}.
5. Using the Genetic Algorithm, maximize the function f(x) = 5sin(x) + x^2 for x in the
interval [0, 40], where x = 0, 1, 2, ..., 40.
2. Given the stored pattern [1, 1, -1, -1, 1], perform the following:
3. A Discrete Hopfield Network stores the pattern [-1, 1, 1, -1, -1]. Perform the
following:
4. Consider a Discrete Hopfield Network with the stored pattern [1, -1, -1, 1]:
5. For the input pattern [-1, -1, 1, 1, -1, 1], perform the following:
1.
a) Train the Auto-associative network for the input vector [1, -1, 1, -1].
2.
a) Train an Auto-associative network using the input vector [1, 1, -1, 1, -1].
b) Evaluate the network by testing:
i) The same input vector.
ii) A test vector with one missing component.
iii) A test vector with two incorrect values.
3. a) Construct an Auto-associative network trained with the input pattern [-1, -1, 1, 1, 1].
b) Test the trained network under the following conditions:
i) Using the same stored vector.
ii) With one missing entry in the test vector.
iii) With two incorrect components in the test vector.
4. a) Train an Auto-associative network using the stored pattern [1, -1, -1, 1, 1].
b) Validate the network's performance by testing:
i) With the original input pattern.
ii) With one missing element in the test vector.
iii) With two incorrect values in the test vector.
5. a) Implement an Auto-associative network trained on the input vector [-1, 1, -1, 1, 1].
b) Test the network under different scenarios:
3. Design and test a Bidirectional Associative Memory (BAM) to store and recall letters
X and Y with given bipolar Input-Output vectors. Target output for X is (1, -1) and for Y
is (-1, 1). The display matrix size should be 5x4 input patterns.
4. Construct a BAM model to associate letters M and N with bipolar Input-Output
representations. The expected output for M is (-1, -1) and for N is (1, 1). Use a display
matrix of size 5x3.
ADELINE algorithm
1. Use the ADELINE algorithm to train the NAND function with bipolar inputs and
outputs. Perform a single epoch for this training.
2. Implement the ADELINE algorithm to train the NOR function using bipolar
inputs and outputs. Train the model for one epoch and observe the weight
updates.
3. Train an ADELINE network to learn the XOR function with bipolar input-output
pairs. Carry out a single training epoch and analyze the weight adjustments.
4. Apply the ADELINE algorithm to train the XNOR function with bipolar
representations. Perform only one epoch and check the learning progress.
5. Use ADELINE to train the OR function using bipolar inputs and outputs. Conduct
a single epoch and examine the network’s weight updates.
4. Calculate the Linear Discriminant function for the following data points:
6. Perform Linear Discriminant Analysis (LDA) and find the projection direction for
the following dataset:
2. Apply Fuzzy C-Means Clustering to group the following dataset into clusters:
{(1,2),(3,5),(4,6),(7,8),(8,10)}
3. Use the Fuzzy C-Means algorithm to classify the given data points:
{(2,3),(4,5),(5,6),(7,8),(9,11)}