Home / Study library / Machine Learning Practice / End Term · May 2024 Machine Learning Practice · End Term · May 2024 · AN
Machine Learning Practice · End Term · May 2024 AN
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 38 published solutions
Q358 Q359 Q360 Q361 Q362 Q363 Q364 Q365 Q366 Q367 Q368 Q369 Q370 Q371 Q372 Q373 Q374 Q375 Q376 Q377 Q378 Q379 Q380 Q381 Q382 Q383 Q384 Q385 Q386 Q387 Q388 Q389 Q390 Q391 Q392 Q393 Q394 Q396
Question 358 MSQ · 2.0 marks Consider the following common data and answer the subquestion:
Consider the following code snippet:
Which of the following will be equivalent to the above code snippet?
A. B. C. D. E. A published solution is not available for this question yet.
Report a correction for Q358
Question 359 NAT · 2.0 marks Consider the following common data and answer the subquestion:
What is the output of the following code snippet:
Enter -1, if you think the above statement will generate an error.
A published solution is not available for this question yet.
Report a correction for Q359
Question 360 NAT · 2.0 marks Consider the following common data and answer the subquestion:
What is the output of the following code snippet:
Enter -1, if you think the above statement will generate an error.
A published solution is not available for this question yet.
Report a correction for Q360
Question 361 NAT · 2.0 marks Consider the following common data and answer the subquestion:
What is the output of the following code snippet:
Enter -1, if you think the above statement will generate an error.
A published solution is not available for this question yet.
Report a correction for Q361
Question 362 MCQ · 2.0 marks Consider the following common data and answer the subquestion:
What is the output of the following code snippet:
Choose correct options from following:
A. The number of rows will decrease in the dataset.
B. The number of columns will decrease in the dataset.
C. The number of columns and number of rows, both, will decrease in the
dataset.
D. There will be no change.
E. Insufficient information.
A published solution is not available for this question yet.
Report a correction for Q362
Question 363 MCQ · 2.0 marks To load datasets from openml.org, which method will be appropriate?
A published solution is not available for this question yet.
Report a correction for Q363
Question 364 MCQ · 2.0 marks In which of the option given below data preprocessing is required?
A. In some columns which has values between 0 and 1.
B. A column contains entity names such as ‘Chennai’, ‘CHENNAI’ and ‘MADRAS’.
C. The data has only numbers in all the columns.
A published solution is not available for this question yet.
Report a correction for Q364
Question 365 MCQ · 2.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q365
Question 366 MCQ · 2.0 marks Which of the following scikit-learn classes is best suited for examining how the number of samples
impacts training and testing errors?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q366
Question 367 MCQ · 2.0 marks Consider following two statements:
Statement 1: The GaussianNB classifier can incrementally learn using partial_fit.
Statement 2: GaussianNB performance suffers when features are dependent, as it assumes
independence in calculating conditional probabilities.
A. Both statements are True
B. Only statement 1 is True
C. Only statement 2 is True
D. Both statements are False
A published solution is not available for this question yet.
Report a correction for Q367
Question 368 MCQ · 2.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q368
Question 369 MCQ · 2.0 marks Which of the following is true for a hard margin SVM algorithm ?
A. It does not create hyperplanes as a decision boundary
B. It will correctly classify all the data point if the data is linearly separable
C. It is robust to outliers
D. It is mostly used for clustering the data
A published solution is not available for this question yet.
Report a correction for Q369
Question 370 MCQ · 2.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q370
Question 371 MCQ · 2.0 marks Decision Trees are prone to:
B. High bias, low variance
C. Low bias, high variance
D. High bias, high variance
A published solution is not available for this question yet.
Report a correction for Q371
Question 372 MCQ · 3.0 marks A. B. C. D. E. A published solution is not available for this question yet.
Report a correction for Q372
Question 373 MCQ · 3.0 marks A published solution is not available for this question yet.
Report a correction for Q373
Question 374 MCQ · 3.0 marks A published solution is not available for this question yet.
Report a correction for Q374
Question 375 MCQ · 3.0 marks A. It controls the number of weak learners.
B. It shrinks the contribution of each classifier.
C. It sets the weight of each weak learner.
D. It adjusts the speed at which the model learns.
A published solution is not available for this question yet.
Report a correction for Q375
Question 376 MCQ · 4.0 marks A. Output score is likely to increase.
B. Output score is likely to decrease.
C. Output score may increase or decrease.
D. Output score will remain the same.
A published solution is not available for this question yet.
Report a correction for Q376
Question 377 MCQ · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q377
Question 378 MCQ · 4.0 marks A. The final predictions are based on the majority vote.
B. The final predictions are based on the average of probabilities predicted by
each classifier.
C. The final predictions are based on the weighted sum of the predictions.
D. The final predictions are based on the classifier with the highest accuracy.
A published solution is not available for this question yet.
Report a correction for Q378
Question 379 MCQ · 4.0 marks A. The mean accuracy across all cross-validation folds.
B. The mean precision across all cross-validation folds.
C. The mean recall across all cross-validation folds.
D. The mean F1 score across all cross-validation folds.
A published solution is not available for this question yet.
Report a correction for Q379
Question 380 MCQ · 4.0 marks A. Plotting the sum of the squared distances of samples to their closest cluster
center
B. by Changing the distance metric for **KMeans**
C. By initialising clustering centroids very far from each other
A published solution is not available for this question yet.
Report a correction for Q380
Question 381 MSQ · 2.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q381
Question 382 MSQ · 2.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q382
Question 383 MSQ · 2.0 marks Which of the following is a hyper parameter?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q383
Question 384 MSQ · 2.0 marks Which of the following models are inherently multiclass models?
A published solution is not available for this question yet.
Report a correction for Q384
Question 385 MSQ · 2.0 marks Which of the following class(es) is/are used to instantiate a neural network in Sklearn.
A published solution is not available for this question yet.
Report a correction for Q385
Question 386 MSQ · 3.0 marks Which of the following is correct?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q386
Question 387 MSQ · 3.0 marks Which of the following processes can be done if we have a dataset with imbalanced target class
distribution?
A. Remove all the minority classes
B. Up-sample the minority classes
C. Remove all the majority classes
D. Down-sample the majority classes
E. create synthetic samples to balance the classes
A published solution is not available for this question yet.
Report a correction for Q387
Question 388 MSQ · 3.0 marks Which of the following is true about Naive Bayes algorithm ?
A. It is primarily used for regression problems
B. It is primarily used for classification problems
C. Hyperparameter tuning is required
D. Hyperparameter tuning is not required
A published solution is not available for this question yet.
Report a correction for Q388
Question 389 MSQ · 3.0 marks Which of the following is/are correct regarding RadiusNeighborsClassifier
A. Only 5 neighbours in the range of some radius are used to compute the label
of a sample.
B. All the neighbours in the range of some radius are used to compute the label
of a sample.
C. It is sensitive to outliers.
D. It is not sensitive to outliers.
A published solution is not available for this question yet.
Report a correction for Q389
Question 390 MSQ · 3.0 marks A. Data is continuously being generated
B. Data is generated every month
C. Whole data is generated and its in a huge file size
A published solution is not available for this question yet.
Report a correction for Q390
Question 391 MSQ · 4.0 marks A. The neural network contains 3 hidden layers with 5 neurons in each hidden
layer
B. The neural network contains 5 hidden layers with 3 neurons in each hidden
layer
C. The neural network contains 2 hidden layers with 3 neurons in the second
hidden layer
D. The neural network contains 2 hidden layers with 5 neurons in the first hidden
layer
E. All of the given options are correct
A published solution is not available for this question yet.
Report a correction for Q391
Question 392 MSQ · 5.0 marks A. Number of samples at node N = 15. If it is split, it will result in 9 samples in the
left child node and 6 sample in the right child node.
B. Number of samples at node N = 5. If it is split, it will result in 4 samples in the
left child node and 2 samples in the right child node.
C. Number of samples at node N = 12. If it is split, it will result in 3 samples in the
left child node and 9 samples in the right child node.
D. Number of samples at node N = 7. If it is split, it will result in 4 samples in the
left child node and 3 samples in the right child node.
A published solution is not available for this question yet.
Report a correction for Q392
Question 393 NAT · 2.0 marks A published solution is not available for this question yet.
Report a correction for Q393
Question 394 NAT · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q394
Question 396 MCQ · 0.0 marks A. Instructions has been mentioned above.
B. This Instructions is just for a reference & not for an evaluation.
A published solution is not available for this question yet.
Report a correction for Q396