General Data Science Intermediate ML Fundamentals Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 11 | Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What is the relationship between R² and the coefficient of determination?

Explanation

R², also called the coefficient of determination, indicates how much of the variation in the outcome is explained by the model. Values closer to 1 generally indicate a better fit, while a value of 0 means the model explains none of the variation.

Submit
Please wait...
About This Quiz
General Data Science Intermediate Ml Fundamentals Quiz - Quiz

Test your understanding of core machine learning concepts and data science fundamentals. This quiz covers supervised and unsupervised learning, model evaluation, feature engineering, and key algorithms essential for intermediate-level practitioners. Strengthen your grasp of practical ML workflows and theoretical foundations.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What does overfitting indicate about a model's performance?

Explanation

Overfitting occurs when a model fits the training data too closely, including random noise or irrelevant details. As a result, it may achieve strong performance on training examples but fail to generalize and make accurate predictions on new, unseen data.

Submit

3. In support vector machines, what is the kernel trick used for?

Explanation

The kernel trick computes similarities between data points as if they were transformed into a higher-dimensional feature space, without explicitly calculating the transformation. This allows an SVM to model nonlinear relationships efficiently using kernel functions.

Submit

4. How does stratified k-fold cross-validation differ from standard k-fold?

Explanation

Stratified k-fold divides the data so that each fold preserves approximately the same class proportions as the full dataset. This is especially useful for classification problems with imbalanced classes, helping ensure that every fold represents the different classes fairly during training and evaluation.

Submit

5. What is the primary goal of feature engineering in machine learning?

Explanation

Feature engineering transforms raw data into useful inputs that help a model identify patterns and make better predictions. It may involve creating, selecting, or modifying features based on the problem and available data. Its primary aim is to improve model performance, not simply enlarge the dataset or reduce computation.

Submit

6. What is the main difference between supervised and unsupervised learning?

Explanation

Supervised learning trains a model using examples paired with known labels or outcomes, so it can learn to predict those labels for new data. Unsupervised learning uses data without labels and instead seeks patterns, clusters, or other structure on its own. The key distinction is whether labeled examples are provided during training.

Submit

7. In neural networks, what is the role of the activation function?

Explanation

An activation function transforms a neuron’s output and introduces non-linearity into the network. This allows neural networks to model complex relationships and patterns that a purely linear combination of inputs could not capture.

Submit

8. Which technique is used to handle multicollinearity in regression?

Explanation

Multicollinearity occurs when predictors are highly correlated, making regression estimates unstable. Ridge regression reduces this instability by penalizing large coefficients, while removing one or more correlated features reduces redundancy among predictors.

Submit

9. Which of the following best describes the bias-variance tradeoff in machine learning?

Explanation

High bias occurs when a model is too simple to capture patterns in the data, leading to underfitting. High variance occurs when a model fits the training data too closely, including noise, and performs poorly on new data, leading to overfitting.

Submit

10. In ensemble methods like Random Forest, what advantage does bagging provide?

Explanation

Bagging trains multiple models on different bootstrap samples of the data and combines their predictions. This averaging reduces the impact of fluctuations in any single model, lowering variance and often improving the ensemble’s stability and generalization.

Submit

11. What is the purpose of a confusion matrix in classification?

Explanation

A confusion matrix compares a classifier’s predicted labels with the actual labels. It organizes the results into true positives, false positives, true negatives, and false negatives, helping evaluate performance and identify which types of classification errors the model makes.

Submit

12. In k-means clustering, what determines the final cluster assignments?

Explanation

In k-means, each data point is assigned to the cluster whose centroid is closest to it, typically measured using Euclidean distance. After assignments are made, the centroids are recalculated from the points in each cluster, and this process repeats until the assignments or centroids stabilize. Thus, proximity to a centroid determines each point’s final cluster assignment.

Submit

13. What is the main objective of Principal Component Analysis (PCA)?

Explanation

PCA transforms data into a smaller set of principal components that capture as much of the original variation as possible. This reduces the number of dimensions while retaining the most informative patterns in the data.

Submit

14. Feature scaling is important in which of the following algorithms?

Explanation

Feature scaling matters for KNN because it calculates distances between observations, so features with larger numeric ranges can dominate neighbor selection. SVM is also affected because its optimization and margin calculations depend on feature magnitudes, especially with distance-based kernels. Scaling puts features on comparable ranges, helping both algorithms learn more balanced and reliable decision boundaries.

Submit

15. Which metric is most appropriate for evaluating a highly imbalanced classification problem?

Explanation

Precision and recall provide a more informative assessment than accuracy when classes are highly imbalanced. Accuracy can appear high simply by predicting the majority class, while precision and recall measure how well the model identifies the minority class. The F1-score combines both into a single measure.

Submit

16. What does regularization do in machine learning models?

Explanation

Regularization adds a penalty for large model coefficients during training. This discourages overly complex models that fit noise in the training data, helping reduce overfitting and improve performance on unseen data.

Submit

17. In cross-validation, what is the primary purpose of splitting data into k folds?

Explanation

Splitting the data into k folds allows the model to be trained and evaluated on different subsets. Averaging the results across these runs reduces dependence on a single train-test split and provides a more reliable estimate of performance on unseen data.

Submit

18. Which of the following is a disadvantage of decision trees?

Explanation

Decision trees can create many branches to fit the training data closely, including random noise and outliers. This may make them perform well on training examples but poorly on unseen data. Limiting tree depth or pruning branches can reduce this overfitting.

Submit

19. Which of the following is a valid approach to handle missing data?

Explanation

Imputation replaces missing entries with reasonable estimates, such as the mean or median, or carries forward the last observed value. This preserves more data for analysis and model training than deleting incomplete rows, while avoiding the potentially misleading assumption that every missing value is zero.

Submit

20. In gradient descent, what does the learning rate control?

Explanation

The learning rate determines how much the model’s parameters change during each gradient descent update. A larger rate takes bigger steps toward minimizing the loss, while a smaller rate takes more cautious steps and may require more updates to converge.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the relationship between R² and the coefficient of...
What does overfitting indicate about a model's performance?
In support vector machines, what is the kernel trick used for?
How does stratified k-fold cross-validation differ from standard...
What is the primary goal of feature engineering in machine learning?
What is the main difference between supervised and unsupervised...
In neural networks, what is the role of the activation function?
Which technique is used to handle multicollinearity in regression?
Which of the following best describes the bias-variance tradeoff in...
In ensemble methods like Random Forest, what advantage does bagging...
What is the purpose of a confusion matrix in classification?
In k-means clustering, what determines the final cluster assignments?
What is the main objective of Principal Component Analysis (PCA)?
Feature scaling is important in which of the following algorithms?
Which metric is most appropriate for evaluating a highly imbalanced...
What does regularization do in machine learning models?
In cross-validation, what is the primary purpose of splitting data...
Which of the following is a disadvantage of decision trees?
Which of the following is a valid approach to handle missing data?
In gradient descent, what does the learning rate control?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!