Model evaluation and generalization assessment: Practice Questions — Machine Learning With RAPIDS (NVIDIA-Certified Associate: Accelerated Data Science)
Practice Questions on Model Evaluation and Generalization Assessment These multiple-choice questions are designed to help candidates prepare for the...
Practice Questions on Model Evaluation and Generalization Assessment
These multiple-choice questions are designed to help candidates prepare for the Model Evaluation and Generalization Assessment section of the NVIDIA-Certified Associate: Accelerated Data Science exam, focusing on GPU-accelerated machine learning with RAPIDS.
Which metric is most appropriate for evaluating a regression model’s performance?
- A) Accuracy
- B) Mean Squared Error (MSE)
- C) Confusion Matrix
- D) Precision
Correct answer: B) Mean Squared Error (MSE)
Explanation: MSE measures the average squared difference between predicted and actual values, making it suitable for regression tasks. Accuracy, confusion matrix, and precision are classification metrics.
In a binary classification task, what does the confusion matrix element "False Negative" represent?
- A) Instances correctly predicted as positive
- B) Instances incorrectly predicted as negative
- C) Instances incorrectly predicted as positive
- D) Instances correctly predicted as negative
Correct answer: B) Instances incorrectly predicted as negative
Explanation: False Negatives are positive instances that the model incorrectly labels as negative, impacting recall and sensitivity.
Which technique helps assess a model’s ability to generalize to unseen data by repeatedly splitting the dataset into training and validation sets?
- A) Hyperparameter tuning
- B) Cross-validation
- C) Confusion matrix analysis
- D) Feature scaling
Correct answer: B) Cross-validation
Explanation: Cross-validation partitions data multiple times to evaluate model stability and generalization, reducing overfitting risk.
When tuning hyperparameters for a GPU-accelerated XGBoost model, which approach is commonly used to avoid overfitting?
- A) Increasing the number of estimators indefinitely
- B) Using a validation set and early stopping
- C) Ignoring the learning rate
- D) Disabling cross-validation
Correct answer: B) Using a validation set and early stopping
Explanation: Early stopping monitors validation performance to halt training when improvements plateau, preventing overfitting.
Which of the following performance metrics combines precision and recall into a single score for classification models?
- A) F1 Score
- B) R-squared
- C) Mean Absolute Error
- D) Log Loss
Correct answer: A) F1 Score
Explanation: The F1 Score is the harmonic mean of precision and recall, providing a balanced measure especially useful for imbalanced classes.
What does a high variance in model performance across different cross-validation folds indicate?
- A) The model generalizes well
- B) The model is underfitting
- C) The model’s performance is unstable and may overfit
- D) The model has perfect accuracy
Correct answer: C) The model’s performance is unstable and may overfit
Explanation: High variance suggests the model fits training data too closely, failing to generalize consistently across folds.
In RAPIDS cuML, which function would you typically use to evaluate classification model predictions against true labels?
- A) cuml.metrics.mean_squared_error()
- B) cuml.metrics.accuracy_score()
- C) cuml.preprocessing.StandardScaler()
- D) cuml.cluster.KMeans()
Correct answer: B) cuml.metrics.accuracy_score()
Explanation: accuracy_score() computes the classification accuracy, comparing predicted labels to true labels.
More in this topic
Ready to test your knowledge?
Put what you've learned into practice with a quick quiz and track your progress.
Test your knowledge →