Recent questions tagged machine-learning

0 0 votes
1 1 answer
144
144 views
Given 3 data points in 2-d space, $(1,1),(2,2)$ and $(3,3)$,$(A)$ What is the first principle component ?$(B)$ If we want to project the original data points into 1-d spa...
0 0 votes
1 1 answer
200
200 views
Let's do principal components analysis (PCA)! Consider this sample of six points $X_i \in \mathbb{R}^2$.$$\left\{\left[\begin{array}{l}0 \\0\end{array}\right],\left[\begi...
0 0 votes
1 1 answer
139
139 views
$\text { Suppose you were to use PCA on the following dataset }$(a) On the figure above, draw the line that is in the direction of the first principal component of the da...
0 0 votes
0 0 answers
154
154 views
In each plot below, the data is projected onto two (unit-length) principal component vectors. We say that a plot is "valid" if the $x$-coordinate (written as "PC1") would...
0 0 votes
1 1 answer
147
147 views
We now wish to display the first two principal components in a scatterplot. Which of the following plots could potentially display the first two principal components ?ABC...
0 0 votes
0 0 answers
112
112 views
Suppose we project a new matrix $A$ onto the directions of its first two principal components. Which of the following plots could possibly display the projected data with...
0 0 votes
1 1 answer
145
145 views
Suppose we are given three datasets $A, B$, and $C \in \mathbb{R}^{100 \times 2}$ i.e. each dataset consists of 100 data points in two dimensions. We visualize the datase...
0 0 votes
0 0 answers
163
163 views
For the given data, which direction you will prefer to choose for projection ?Option A vs Option BPlease enter 1 for A and 0 for B.
0 0 votes
1 1 answer
188
188 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
221
221 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
158
158 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
138
138 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
149
149 views
If the range of decision boundary given by Perceptron is $[a, b]$ then $a+b$? 
0 0 votes
0 0 answers
133
133 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
146
146 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
163
163 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
128
128 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
116
116 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
110
110 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
127
127 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
315
315 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
110
110 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
131
131 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
153
153 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
175
175 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...