Week 1 : Assignment 1
Due date: 2025-02-05, 23:59 IST.
Assignment not submitted
Common data for questions 1,2 and 3In the figure shown below, the blue points belong to class 1 (positive class) and the red points belong to class 0 (negative class). Suppose that we use a perceptron model, with the weight vector w as shown in the figure, to separate these data points. We define the point belongs to class 1 if
wTx≥0 else it belongs to class 0.
1 point
The points
G and
C will be classified as?
Note: the notation
(G,0) denotes the point
G will be classified as class-0 and
(C,1) denotes the point
C will be classified as class-1
1 point
The statement that “there exists more than one decision lines that could separate these data points with zero error” is,
1 point
Suppose that we multiply the weight vector w by −1. Then the same points
G and
C will be classified as?
1 point
Which of the following can be achieved using the perceptron algorithm in machine learning?
1 point
Consider the following table, where
x1 and
x2 are features and
y is a label.
Assume that the elements in
w are initialized to zero and the perception learning algorithm is used to update the weights
w. If the learning algorithm runs for long enough iterations, then
1 point
We know from the lecture that the decision boundary learned by the perceptron is a line in
R2. We also observed that it divides the entire space of
R2 into two regions, suppose that the input vector
x∈R4, then the perceptron decision boundary will divide the whole
R4 space into how many regions?
1 point
Choose the correct input-output pair for the given MP Neuron.
f(x)={1,0,ifx1+x2+x3<2otherwise1 point
Consider the following table, where
x1 and
x2 are features (packed into a single vector
x=[x1x2]) and
y is a label:
Suppose that the perceptron model is used to classify the data points. Suppose further that the weights
w are initialized to
w = [11]. The following rule is used for classification,
y={10ifwTx>0ifwTx≤0The perceptron learning algorithm is used to update the weight vector
w. Then, how many times the weight vector
w will get updated during the entire training process?
1 point
Which of the following threshold values of MP neuron implements AND Boolean function? Assume that the number of inputs to the neuron is 3 and the neuron does not have any inhibitory inputs.
1 point
Consider points shown in the picture. The vector
w = [−11].As per this weight vector, the Perceptron algorithm will predict which classes for the data points
x1 and
x2.
NOTE: y={10ifwTx>0ifwTx≤0