Professional Documents
Culture Documents
Assignment-2-Basics of ANN
Assignment-2-Basics of ANN
Assignment-2 (03/11/2022)
Basics of Artificial Neural
Networks
by
Dr.Upasna Singh
MODULE 1
Q1. Solve the three simple classification problems shown in figure given below
by drawing a decision boundary. Find weight and bias values that result in
single-neuron perceptrons with the chosen decision boundaries. Initial weights
can be considered as (a) [-2 1] (b)[0 -2] (c) [2 -2]
Q3. We have a classification problem with four classes of input vector. The four
classes areClass 1: {[1 1], [1 2]}; Class 2: {[2 -1], [2 0]}; Class 3: {[-1 2], [-2
1]}; Class 4: {[-1 -1], [-2 -2]}.Design a perceptron network to solve this
problem.
Q4. Solve the following classification problem with the perceptron rule. Apply
each input vector in order, for as many repetitions as it takes to ensure that the
problem is solved. Draw a graph of the problem only after you have found a
solution. Consider initial weight and bias as zero.
X{[2 2], [1 -2], [-2 -2], [-1 -1]}; Y{0, 1, 0, 1}
Q5. Consider four-class decision problem and train the perceptron network
using perceptron learning rule. Assume initial weights as W11=1, W12=0,
W21=0, W22=1 and biases as b11=1, b21=1.
X1 X2 Y1 Y2
1 1 0 0
1 2 0 0
2 -1 0 1
2 0 0 1
-1 2 1 0
-2 1 1 0
-1 -1 1 1
-2 -2 1 1
MODULE 2
Q1. Write a program in any language for all the questions in Module
1.
Q2. Write a program in any language for solving XOR problem using
multi-layer feed forward neural network concept.