Recent questions tagged perceptron

1 1 vote
1 1 answer
641
641 views
Consider a fully-connected feed-forward multi-layer perceptron. It has $30$ neurons in the input layer, followed by two hidden layers and an output layer. The first hidde...
0 0 votes
0 0 answers
229
229 views
A multi layer perceptron is trained to recognize the digits in ( S = {1, 2, 3} ) by using a batch of samples. The targets are encoded using the one-hot scheme, whereby th...
1 1 vote
2 2 answers
319
319 views
Problem: The Hinge Loss Insight (Perceptron/SVM Concept)Consider a two-class classification problem with labels $ y_i \in \{+1, -1\} $. A linear model is defined by $ f(\...
0 0 votes
0 0 answers
366
366 views
Consider the following table defining the sample inputs and corresponding target values for a perceptron model.$\begin{array}{|c|c|c|c|c|c|} \hline \text{Sample No} & x1 ...
0 0 votes
1 1 answer
185
185 views
Consider two datasets $D^{(1)}$ and $D^{(2)}$ where $D^{(1)} = \{(x_1^{(1)}, y_1^{(1)} ), ..., (x_n^{(1)}, y_n^{(1)}) \}$ and $D^{(2)} = \{x_1^{(2)}, y_1^{(2)} ),...., x...
0 0 votes
1 1 answer
216
216 views
If the training set is finite and linearly separable, then the perceptron convergence theorem says that the perceptron algorithm will learn a correct linear separator in ...
0 0 votes
1 1 answer
151
151 views
We ran the perceptron algorithm, with offset, on the following dataset and recorded the number of mistakes we made for each point. Without running the algorithm, what is ...
0 0 votes
0 0 answers
134
134 views
The perceptron algorithm will converge:If the data is linearly separableEven if the data is linearly inseparableAs long as you initialize $\theta$ to all 0'sAlways
0 0 votes
0 0 answers
145
145 views
If the range of decision boundary given by Perceptron is $[a, b]$ then $a+b$? 
0 0 votes
0 0 answers
129
129 views
Consider a binary classification problem. Suppose I have trained a model on a linearly separable training set, and now I get a new labeled data point which is correctly c...
0 0 votes
0 0 answers
138
138 views
The perceptron algorithm updates the current linear separator if and only if the current training example is misclassified?(Please enter 1 for True and 0 for False).
0 0 votes
1 1 answer
160
160 views
Which of the following is/are true about the Perceptron classifier?It can learn a OR functionIt can learn a XOR functionThe obtained separating hyperplane depends on the ...
0 0 votes
0 0 answers
123
123 views
Consider a Perceptron that needs to classify binary input data correctly. The dataset includes the following input-output pairs, where each input has three binary values,...
0 0 votes
0 0 answers
113
113 views
Consider a two-input perceptron being applied to the following set of data:$$x_1 ((-1,-2), +1)$$ $$x_2 ((-1,-3),0)$$ $$X3 ((-3,-1), 0)$$Which of the following sets of wei...
0 0 votes
0 0 answers
107
107 views
Consider the following perceptron, for which the inputs are the always 1 feature and two binary features $x_1 \in \{0, 1\}$ and $x2 \in \{0, 1\}$. The output $y \in \{0, ...
0 0 votes
0 0 answers
121
121 views
Consider the following perceptron, for which the inputs are the always 1 feature and two binary features $x_1 \in \{0, 1\}$ and $x2 \in \{0, 1\}$. The output $y \in \{0, ...
0 0 votes
1 1 answer
312
312 views
With a linear threshold unit perceptron, implement the NAND function. That is, you should write down the weights $w_0, w_A, w_B$.ABNAND001011101110 
0 0 votes
0 0 answers
106
106 views
Suppose we want to implement logical OR using perceptron. For the given decision rule, what will be the bias term if weights are given as $w_1 = w_2 = 1$.
0 0 votes
0 0 answers
126
126 views
Suppose we want to implement logical AND using perceptron. For the given decision rule, what will be the bias term if weights are given as $w_1 = w_2 = 1$. 
0 0 votes
1 1 answer
148
148 views
Perceptron. Consider the following Boolean function: $x_1$$x_2$$y = \neg x_1 \bigcup x_2$001011100111Can this function be represented by a perceptron?(Please enter 1 for ...
0 0 votes
0 0 answers
170
170 views
Consider the following binary classification dataset,where circles denote the positive class and squares the negative class:Which (if any) of the decision boundaries coul...
0 0 votes
0 0 answers
119
119 views
Consider the following binary classification dataset,where circles denote the positive class and squares the negative class:Which (if any) of the decision boundaries coul...
0 0 votes
1 1 answer
139
139 views
We are given a dataset Dn of points in 2D: $x \in \mathbb{R}^2$? and their corresponding labels $y \in \{+1, -1\}$. Consider the following two scenarios:We run the percep...
0 0 votes
1 1 answer
154
154 views
Assume that you are given observations $(x, y) \in \mathbb{R}^2 \times \{\pm1\}$ in the following order:Instance12345678Label $y$+1-1+1-1+1-1+1+1Data $(x_1, x_2)$(10, 10)...
0 0 votes
0 0 answers
107
107 views
Given the following training points for classification, where each point is represented a $(x_1 , x_2 , y )$:$$(1,0, +)$$ $$(1,1, +)$$ $$(0,1, - )$$Perform one pass of th...
0 0 votes
4 4 answers
2.9k
2.9k views
A perceptron has input weights $W_1=-3.9$ and $W_2=1.1$ with threshold value $T=0.3.$ What output does it give for the input $x_1=1.3$ and $x_2=2.2?$$-2.65$$-2.30$$0$$1$
2 2 votes
3 3 answers
3.6k
3.6k views
Consider a single perceptron with sign activation function. The perceptron is represented by weight vector $\begin{bmatrix} 0.4 & -0.3 & 0.1 \end{bmatrix}^t$ and a bias $...