Suppose, you want to predict the class of new data point x=1 and y=1 using eucludian distance in 3-NN. In which class this data point belong to?
Suppose you now want use 7-NN instead of 3-KNN which of the following x=1 and y=1 will belong to?
1. If C increases, the margin width decreases
2. If C increases, margin width increases
3. If C increases, the number of support vectors may decrease.
4. If K increases, the margin width decreases
Statement I: PCA works well for non-linearly correlated data as well.
Statement II: It is not necessary that the principal components found out by PCA should always be orthogonal.
Your model has 99% accuracy after taking the predictions on the test data.
Which of the following is true in such a case? [MSQ]
Given the above image where points 1,2,3,4,5 are support vectors which of the following statements are true
Elevation, Road Type and speed Limit are the features and Speed is the target label that we want to predict.
Find the entropy of the dataset, S as given above:
Now take the case of the movie Avatar having the features vector as [9,1,0,5]. According to an algorithm, these features are assigned the weights [0.8, 0.2, 0.5, 0.4] and bias=-10. For a user X, predict whether he will watch the movie or not if the threshold value(θ) is 10?
Note: If the output of the neuron is greater than θ then the user will watch the movie otherwise not.
Assume that we are using Naive Bayes to find Y given features. Then what is the probability that Y=1 given that f1=1, f2=1 and f3=0.
You are given with two equations, choose the best suitable option by considering SSE (Sum of Squared Errors) as the error.

y^=3+2x
You are given the following data points:
x=[1,2,3,4,5],y=[5,7,9,11,13]
What is the Sum of Squared Errors (SSE) for this model?
Σ=[4 2
2 3]
Calculate the eigenvalues and determine the percentage of variance explained by the first principal component.
A new data point (3,4) needs to be classified. What will be the predicted class for this data point?
The majority class is observed 99% of the time in the training data. Your model has 99% accuracy after taking the predictions on the test set. Which of the following is true in such a case?