Question 1 | MCQ
Solution
The similarity between loaders and fetchers of sklearn is -
Solution
Which of the following options represent the main purpose of using the FeatureUnion?
Solution
What will be the output of the following block of code?

Solution
Which of the following options is the correct method to load the wine dataset and print its shape?
Solution
What is the output of the following block of code?

Solution
What is the output of the following code snippet?

Solution
Which of the options will be the correct output for the following code snippet?

Solution
Which of the options will be the correct output for the following code snippet?

Solution
Which of the following options is correct explained variance score for the following code snippet applying PCA technique.

Solution
Which of the following options is the correct output of the following block of code?

Solution
Which of the following options is the correct method to shuffle training data after each epoch in SGDRegressor?
Solution
Which of the following options represent the correct output of the following block of code?

Solution
Solution
Which of the following options is the possible output for the following block of code?

Solution
What operation does the following code implement?

Solution
Which of the following options represent the recall value for the class 2 in the confusion matrix shown in Figure 1 if y_true = [0, 1, 2, 2, 2], y_pred = [0, 0, 2, 2, 1] ?

Solution
Consider the following code block and mark the correct output.

Solution
Consider X and y as the training dataset. What will be the output of the following code?

Solution
Which of the following options represent the design philosophy of the sklearn API?
Solution
Which of the following options represent(s) the correct method(s) to search for the best regularization parameter for ridge regression?
Solution
Consider the following block of code and mark all possible correct options.

Solution
What will be the output of the following code block:

Solution
Which of the following options represent the output of the following block of code?

Solution
Which of the following statements will be true based on the following diagram?

Solution
Which of the following options is the correct output of the following block of code?

Solution
Which of the following is likely to be the correct output of the code given below?

Solution
For the following block of code, we get the output as 0.9875. How would the output change if we decrease max depth value ?:

Solution
Consider the following block of code and mark the correct option.

Solution
Consider the following code snippet. What value should we fill at the blank place, so that given code block creates graph as shown below:

Solution
Calculate the coefficient of determination (R2) [up to 1 decimal point] based on the following block of code.

Solution
In the given block of code, the Iris dataset having shape (150,4) has been loaded for model training. What do you think will be the output of the code given below?

Solution
Code snippet written below plots a graph for some dataset X as shown below.

In the given dendrogram which sample is most similar to the sample having label as 1 ?
In the given dendrogram which sample is most similar to the sample having label as 1 ?
Solution
Comprehension Passage
Which of the following is likely to be the correct output of the given code ?
Solution
Comprehension Passage
Which of the following distance metrics is used in the given code.
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
What will be the output of the following code?

Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
What will be the output of the following code?

Solution
Comprehension Passage
Which of the following is likely to be the correct output of the given code ?
Solution
Comprehension Passage
Which of the following is likely to be the correct output:

Solution
Which of the following is/are true about the following block of the code?

Solution
Which of the following code blocks will throw an error ?
Solution
Shape
Thickness [ / ]
3
All colors