Data Science · Gradient Boosting Machines (GBM) Which technique does Gradient Boosting Machines utilize to minimize the loss function during training? A Gradient descent Correct answer B Random forest C Naive Bayes D K-means clustering MCQSEXAM Show answer Read explanation
Data Science · Gradient Boosting Machines (GBM) What is the primary objective of Gradient Boosting Machines (GBM) in machine learning? A Clustering B Regression C Classification Correct answer D Dimensionality reduction MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes Which of the following is a key advantage of the Naive Bayes algorithm? A It is robust to overfitting B It works well with small datasets C It requires minimal computational resources Correct answer D It can capture complex nonlinear relationships in the data MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes In Naive Bayes, how are continuous features typically handled during training? A By discretizing them into bins B By transforming them to follow a Gaussian distribution Correct answer C By applying Laplace smoothing D By normalizing them to have zero mean and unit variance MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes What is the impact of multicollinearity among features on the performance of the Naive Bayes algorithm? A It leads to overfitting of the model B It has no impact on the performance of the model C It can degrade the performance of the model Correct answer D It improves the interpretability of the model MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes How does the choice of the Naive Bayes variant affect the handling of feature types in the data? A It affects the model's interpretability B It affects the model's computational complexity C It determines whether the model can handle categorical or continuous features Correct answer D It determines the number of parameters in the model MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes What is the computational complexity of training a Naive Bayes model? A O(n) Correct answer B O(n log n) C O(n^2) D O(1) MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes Which of the following assumptions does the Naive Bayes algorithm make about the data? A Features are not correlated with each other Correct answer B Features have a Gaussian distribution C Features have equal importance in predicting the class label D Features are linearly separable MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes What is Laplace smoothing used for in Naive Bayes? A To reduce computational complexity B To handle missing values in the data C To avoid zero probabilities for unseen feature-value combinations Correct answer D To regularize the model and prevent overfitting MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes In Naive Bayes, how are the probabilities of different classes calculated for a given data instance? A By maximizing the likelihood of the class given the features Correct answer B By calculating the prior probabilities of the classes C By summing the probabilities of individual features D By minimizing the error between predicted and actual class labels MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes Which Naive Bayes variant is suitable for handling categorical features? A Gaussian Naive Bayes B Multinomial Naive Bayes Correct answer C Bernoulli Naive Bayes D Poisson Naive Bayes MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes What type of probability distribution is commonly used for continuous features in Naive Bayes? A Normal (Gaussian) distribution Correct answer B Bernoulli distribution C Binomial distribution D Poisson distribution MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes Which probability theorem is fundamental to the Naive Bayes algorithm? A Bayes' theorem Correct answer B Central limit theorem C Chebyshev's inequality D Bernoulli's theorem MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes What is the underlying assumption of the Naive Bayes algorithm? A Independence of features Correct answer B Linearity of data C Multicollinearity of features D Normality of data distribution MCQSEXAM Show answer Read explanation
Data Science · Naive Bayes What is the primary objective of the Naive Bayes algorithm in machine learning? A Clustering B Regression C Classification Correct answer D Dimensionality reduction MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) In the KNN algorithm, what is the role of the parameter "weights" when determining the class label of a new data point? A It assigns equal weight to all neighbors B It assigns higher weight to closer neighbors Correct answer C It assigns higher weight to farther neighbors D It has no impact on the algorithm MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) Which of the following statements is true about the KNN algorithm's decision boundary? A It is linear for all values of K B It is non-linear for odd values of K C It becomes more complex as K increases D It becomes more linear as K increases Correct answer MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What is the effect of increasing the value of K in the KNN algorithm on the model's bias and variance? A Increases bias, decreases variance Correct answer B Decreases bias, increases variance C Increases both bias and variance D Decreases both bias and variance MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) How does the choice of an odd value for K impact the KNN algorithm in binary classification tasks? A It ensures a balanced number of neighbors for each class B It leads to a smoother decision boundary C It makes tie-breaking easier Correct answer D It has no impact on the algorithm MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What is the primary drawback of the KNN algorithm when dealing with large datasets? A High computational complexity during training Correct answer B Sensitivity to the choice of distance metric C Difficulty in selecting the optimal value of K D Inability to handle categorical features MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What is the role of feature scaling in the KNN algorithm? A To speed up the computation of distances B To improve the interpretability of the model C To normalize the data and ensure equal importance of features Correct answer D To reduce the dimensionality of the data MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What happens if all the neighbors have the same class label in the KNN algorithm? A The algorithm assigns the majority class label to the new data point Correct answer B The algorithm assigns the class label of the closest neighbor to the new data point C The algorithm assigns a random class label to the new data point D The algorithm assigns a weighted class label based on the distance to the neighbors MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What is the main advantage of the KNN algorithm? A Robustness to outliers and noisy data B Low computational complexity during training Correct answer C Ability to handle large datasets D Interpretability of the model MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What is the role of cross-validation in tuning the value of K in the KNN algorithm? A To select the optimal value of K based on the training data Correct answer B To evaluate the performance of the model on unseen data C To reduce the variance of the model D To prevent overfitting of the model MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What is the curse of dimensionality in the context of the KNN algorithm? A The increase in computational complexity with higher dimensions Correct answer B The decrease in accuracy with higher dimensions C The increase in model flexibility with higher dimensions D The decrease in training time with higher dimensions MCQSEXAM Show answer Read explanation