Data Science · K-Nearest Neighbors (KNN) What is the computational complexity of making predictions with the KNN algorithm? A O(n) Correct answer B O(log n) C O(n log n) D O(n^2) MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) How does the choice of distance metric impact the performance of the KNN algorithm? A It has no impact on the performance B It affects the speed of the algorithm C It affects the accuracy of the algorithm Correct answer D It affects the complexity of the decision boundary MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) Which step is NOT involved in the KNN algorithm? A Training the model B Calculating distances between data points C Updating model parameters iteratively Correct answer D Selecting the value of K MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What happens if the value of K is too small in the KNN algorithm? A The model becomes more prone to underfitting B The model becomes more prone to overfitting Correct answer C The decision boundary becomes smoother D The decision boundary becomes more complex MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What is the main disadvantage of the KNN algorithm? A High computational complexity during training B Susceptibility to overfitting C Sensitivity to outliers and irrelevant features Correct answer D Difficulty in handling high-dimensional data MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) How does the choice of the value of K affect the KNN algorithm? A Higher values of K lead to a smoother decision boundary Correct answer B Higher values of K lead to a more complex decision boundary C Lower values of K lead to a smoother decision boundary D Lower values of K lead to a more complex decision boundary MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) Which distance metric is commonly used in KNN for calculating distances between data points? A Euclidean distance Correct answer B Cosine similarity C Manhattan distance D Minkowski distance MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What does the "K" in KNN represent? A Kernel B K-means C Number of clusters D Number of nearest neighbors Correct answer MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) How does the KNN algorithm make predictions for a new data point? A By fitting a decision boundary to the data B By calculating the mean of the nearest neighbors' labels Correct answer C By clustering data points into groups D By reducing the dimensionality of the data MCQSEXAM Show answer Read explanation
Data Science · K-Nearest Neighbors (KNN) What is the primary objective of the K-Nearest Neighbors (KNN) algorithm in machine learning? A Classification Correct answer B Regression C Clustering D Dimensionality reduction MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is the main advantage of using deep Neural Networks over shallow ones? A Lower computational complexity B Faster training time C Ability to capture complex hierarchical patterns in the data Correct answer D Higher interpretability MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is the purpose of transfer learning in Neural Networks? A Transferring knowledge from one Neural Network to another B Transferring pre-trained models to new tasks Correct answer C Transferring data between different layers of a Neural Network D Transferring weights between different neurons MCQSEXAM Show answer Read explanation
Data Science · Neural Networks Which of the following techniques is used to prevent the vanishing gradient problem in deep Neural Networks? A Batch normalization Correct answer B Dropout regularization C Gradient clipping D Early stopping MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is the purpose of the learning rate in training Neural Networks? A Controlling the rate of weight updates during training Correct answer B Controlling the size of the input data C Controlling the number of neurons in each layer D Controlling the number of training epochs MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is the effect of increasing the number of layers in a Neural Network? A Decreased model capacity B Increased computational complexity Correct answer C Improved generalization performance D Decreased risk of overfitting MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is the purpose of an activation function in a Neural Network? A To introduce non-linearity into the model Correct answer B To control the learning rate during training C To normalize the input data D To regularize the model and prevent overfitting MCQSEXAM Show answer Read explanation
Data Science · Neural Networks Which of the following is a disadvantage of using deep Neural Networks? A Difficulty in interpreting model predictions Correct answer B Prone to underfitting due to model complexity C Limited capacity to capture complex patterns in the data D Fast training time compared to shallow models MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is the purpose of pooling layers in a convolutional neural network (CNN)? A To reduce the dimensionality of feature maps Correct answer B To increase the spatial resolution of feature maps C To introduce non-linearity to the model D To regularize the model and prevent overfitting MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is a convolutional neural network (CNN) primarily used for? A Natural language processing B Image recognition and classification Correct answer C Time series forecasting D Reinforcement learning MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is a vanishing gradient problem in Neural Networks? A The weights of the model become too large during training B The learning rate decreases too rapidly during training C The gradients become extremely small, hindering learning in deep networks Correct answer D The model becomes too complex to converge to a solution MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is the purpose of batch normalization in Neural Networks? A Reducing the computational complexity of training B Reducing overfitting by adding noise to the input data C Normalizing the input data to speed up training D Normalizing the activations of intermediate layers to stabilize training Correct answer MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is overfitting in the context of Neural Networks? A The model learns to generalize well to unseen data B The model learns to memorize the training data without generalizing Correct answer C The model stops learning before reaching optimal performance D The model becomes too simple to capture complex patterns in the data MCQSEXAM Show answer Read explanation
Data Science · Neural Networks Which of the following is NOT a hyperparameter of a Neural Network? A Learning rate B Activation function C Number of hidden layers D Input data Correct answer MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is dropout regularization in Neural Networks? A Dropping out randomly selected neurons during training Correct answer B Reducing the learning rate over time during training C Adding noise to the input data during training D Applying L1 or L2 regularization to the weights of the model MCQSEXAM Show answer Read explanation
Data Science · Neural Networks What is the role of backpropagation in training Neural Networks? A Adjusting the learning rate during training B Propagating errors backward to update the weights Correct answer C Initializing the weights of the Neural Network D Regularizing the model to prevent overfitting MCQSEXAM Show answer Read explanation