NEW
Font size
WorksheetsInCube #Quiz 5
Total questions: 17
Worksheet time: 17mins
'The number of chocolates in a bag' is an example of -
Continuous Data
Classical Data
Discrete Data
All of these
'The speed of cars' is example of -
Continuous Data
Discrete Data
Both of these
None of these
The k in KNN algorithm represents ___________
accuracy rate
number of data points
the number of nearest neighbors to consider while predecting
none of these
KNN stands for ___________________.
K - Near Neighbour
K - Nearest Neighbour
Both of these
None of these
Which of the following machine learning algorithm can be used for imputing missing values of both categorical and continuous variables?
Linear Regression
K-NN
Logistic Regression
All of these
Which of the following option is true about K-NN algorithm ?
It can be used for classification
It can be used for regression
It can be used in both classification and regression
None of these
In kNN, we use _____________ to calculate the distance between nearest neighbours
Slope
Origin distance
Validation data
Euclidean distance
Formula to calculate Euclidean Distance is ______
(x2+x1)2−( y2+y1)2
( y2−y1)2−(x2−x1)2
( y2+y1)2+(x2+x1)2
(x2−x1)2+( y2−y1)2
Which of the following will be Euclidean Distance between the two data point
A(1,3) and B(2,3)?
1
2
4
8
Which of the following distance metric can not be used in k-NN?
Manhattan
Minkowski
Euclidean
All can be used
A table with 4 different combinations of predicted and actual values which is extremely useful for measuring Recall, Precision, Specificity, Accuracy, and most importantly AUC-ROC curves is called ________
KNN Table
Slope - Intercept Table
Confusion Matrix
K-Means Table
We need confusion matrix because ______
it confuses the machine learning algorithm
it gives accuracy as 100%
it compares predicted values with actual values
All of these
In the image below, which would be the best value for k assuming that the algorithm you are using is k-Nearest Neighbor.
3
10
20
50
Below are the types of errror in confusion matrix -
Type 1 Error
Type 2 Error
Both of the above
None of the above
Independent variables are also known as _________
response variables
predictor variables
both of these
None of these
If Mohan predicts cat (True Label) by using KNN model but actually it is dog, then it is
True Positive
True Negative
False Positive
False Negative
A patient is diagonised with cancer. Which is more sensitive in this case ?
True Positive
True Negative
False Positive
False Negative
