Recent questions tagged goclasses-ml-practice-questions

0 0 votes
1 answers 1 answer
263
263 views
1 1 vote
1 1 answer
683
683 views
Suppose we build a neural network for a 5-class classification task. Suppose for a single training example, the true label is $\left[\begin{array}{lllll}1 & 0 & 0 & 0 & 0...
0 0 votes
1 1 answer
442
442 views
Consider a neural network with the number of neurons in different layers as mentioned in the below list for a regression task. The first layer is the input layer and the ...
1 1 vote
1 1 answer
455
455 views
Consider a neural network with the number of neurons in different layers as mentioned in the below list for a regression task. The first layer is the input layer and the ...
0 0 votes
1 1 answer
413
413 views
Consider a neural network with the number of neurons in different layers as mentioned in the below list for a regression task. The first layer is the input layer and the ...
3 3 votes
1 1 answer
513
513 views
Consider the following data:\[\begin{array}{|l|l|}\hlineg(x) & y \\\hline+30 & +1 \\\hline-20 & -1 \\\hline-1 & -1 \\\hline+1 & +1 \\\hline\end{array}\]Which of the follo...
3 3 votes
3 3 answers
606
606 views
We have trained four models in the same dataset with different hyperparameters. In the following table, we have recorded the training and testing errors for each of the m...
1 1 vote
2 2 answers
430
430 views
We have trained four models in the same dataset with different hyperparameters. In the following table, we have recorded the training and testing errors for each of the m...
2 2 votes
1 1 answer
387
387 views
Is the following statement true or false?If $i^{\text {th }}$ point in soft-margin SVM pays a non-zero bribe ( $\xi_i>0$ ), then the value of $\alpha_i$ is $C$.TRUE FALSE...
2 2 votes
1 1 answer
362
362 views
Is the following statement true or false?If a point lies between the supporting hyperplanes in the soft-margin SVM problem, it always pays a positive bribe and plays a ro...
3 3 votes
2 2 answers
491
491 views
Background Information:Before choosing an answer, consider the following definition for the SVM approach:Kernel Method: This technique is used when the data is not linear...
0 0 votes
1 1 answer
406
406 views
Consider the following training dataset for a binary classification problem in $\mathbb{R}^2$. Each data-point is represented by $\mathbf{x}=\left[\begin{array}{ll}x_1 & ...
2 2 votes
1 1 answer
357
357 views
Consider a linearly separable dataset for a binary classification problem in $\mathbb{R}^d$. Three linear classifiers have been trained on this dataset. All three pass th...
1 1 vote
1 1 answer
398
398 views
Consider a data set $x_1=\left[\begin{array}{l}-1 \\ -1\end{array}\right], x_2=\left[\begin{array}{c}-1 \\ 0\end{array}\right], x_3=\left[\begin{array}{l}0 \\ 1\end{array...
6 6 votes
1 1 answer
440
440 views
3 3 votes
1 1 answer
331
331 views
If the scores (i.e, $w^T x$ values) for some data points are $-4,3,1,2,-6$ respectively, what will be the probabilities returned for these points by Logistic Regression?$...
1 1 vote
1 1 answer
338
338 views
Given a linearly separable data set where the maximum Euclidean norm of any data point is $R=4$ (i.e., $\max \|x\|=4$), and the margin of separation is $\gamma=2$, what i...
1 1 vote
1 1 answer
301
301 views
  if the weight vector is multiplied by $-1$ , which classes will be predicted by the Perceptron for the data points $x_1$ and $x_2$ ?$x_1:+1, x_2:-1$ $x_1:-1, x_2:+1$ $x...
1 1 vote
1 1 answer
288
288 views
 Consider ten data points as shown in the following image:  The blue line represents the weight vector. As per this weight vector, the Perceptron algorithm will predict w...
1 1 vote
1 1 answer
323
323 views
Consider the following data set with three data points:$$\left(\left[\begin{array}{l}2 \\2\end{array}\right],+1\right),\left(\left[\begin{array}{c}2 \\-2\end{array}\right...
2 2 votes
1 1 answer
254
254 views
Consider the following data set:\[\begin{array}{|c|c|c|}\hlinef_1 & f_2 & y \\\hline-1 & -1 & -1 \\0 & 1 & +1 \\1 & 0 & +1 \\1 & 1 & +1 \\\hline\end{array}\]If the Percep...
1 1 vote
1 1 answer
247
247 views
Assume that the Perceptron algorithm is applied to a data set in which the maximum of the lengths of the data points is $4$ and the value of the margin ( $\gamma$ ) of th...
1 1 vote
1 1 answer
349
349 views
A binary classification dataset has 1000 data points belonging to $\{0,1\}^2$. A naive Bayes algorithm was run on the same dataset that results in the following estimate:...
0 0 votes
1 1 answer
283
283 views
A binary classification dataset has 1000 data points belonging to $\{0,1\}^2$. A naive Bayes algorithm was run on the same dataset that results in the following estimate:...
2 2 votes
1 1 answer
360
360 views
Consider the following binary classification dataset with two features $f_1$ and $f_2$. The data points given the labels follow the Gaussian distribution. The dataset is ...
0 0 votes
1 1 answer
301
301 views
Consider a binary classification dataset containing two features $f_1$ and $f_2$. The feature $f_1$ is categorical which can take three values and the feature $f_2$ is nu...
0 0 votes
1 1 answer
283
283 views
Consider the following binary classification dataset with two features $f_1$ and $f_2$. The data points given the labels follow the Gaussian distribution. The dataset is ...
3 3 votes
1 1 answer
277
277 views
Consider a binary classification dataset with two binary features, $f_1$ and $f_2$. The $f_2$ feature values are 0 for all label '$0$' examples but the label '$1$' exampl...
5 5 votes
1 1 answer
356
356 views
Consider a binary classification dataset contains only one feature and the data points given the label follow the given distribution$$\begin{aligned}& x \mid(y=0) \sim \m...
2 2 votes
1 1 answer
465
465 views
A naive Bayes model is trained on a dataset containing $d$ features $f_1, f_2, \ldots, f_d$. Labels are 0 and 1. If a test point was predicted to have the label 1 , which...