StudyFox
कीमतेंब्लॉगएक्सटेंशनमुफ़्त टूल
  • कीमतें
  • ब्लॉग
  • एक्सटेंशन
  • मुफ़्त टूल
  • शुरू करेंसाइन इन
StudyFox

अपने नोट्स, PDF और स्लाइड्स को फ़्लैशकार्ड, क्विज़, नोट्स और माइंड मैप में बदलें।

StudyFox खोलें

स्टडी टूल्स

  • होमवर्क हेल्पर
  • नोट मेकर
  • फ़्लैशकार्ड मेकर
  • क्विज़ मेकर
  • माइंड मैप मेकर

प्रोडक्ट

  • कीमतें
  • Chrome एक्सटेंशन
  • मुफ़्त एक्सटेंशन
  • स्टडी सेट देखें
  • ब्लॉग

सहायता

  • सहायता केंद्र
  • संपर्क करें
  • गोपनीयता नीति
  • सेवा की शर्तें

तुलना करें

  • Chegg का विकल्प
  • Course Hero का विकल्प
  • Coursology का विकल्प
  • Photomath का विकल्प
  • Gauthmath का विकल्प
  • PhotoSolve का विकल्प
  • CollegeTools का विकल्प
  • Transcript का विकल्प
  • SmartSolve का विकल्प
  • Homeworkify का विकल्प
  • AnswersAi का विकल्प
  • StudyX का विकल्प
  • Quizlet का विकल्प
  • Anki का विकल्प
  • Knowt का विकल्प
  • Brainscape का विकल्प
  • सभी तुलनाएँ

© 2026 StudyFox AI. सर्वाधिकार सुरक्षित।

  • X
  • Discord
  • Instagram
ExploreEngineering & TechData Science & AIMachine Learning Concepts: Overfitting, Metrics and Model Evaluation

Quiz · Medium

Machine Learning Concepts: Overfitting, Metrics and Model Evaluation

Supervised vs unsupervised learning, overfitting and the bias-variance trade-off, train/test splits, precision, recall and F1, regularization, data leakage and common algorithms.

by Kill h.16 questionsCreated Nov 8, 2026, 08:04 PM
Data Science & AI· Machine LearningTags#machine-learning#data-science#model-evaluation

16 questions

  1. 1

    A store groups customers by purchasing behavior with no predefined labels. What type of learning is this?

    • A

      Supervised classification

    • Unsupervised learning (clustering)

    • C

      Supervised regression

    • D

      Reinforcement learning

    There are no target labels, so the algorithm finds structure on its own, for example with k-means. Classification would need examples already tagged with the correct group.

  2. 2

    A model predicts a house's sale price from its size and location. This is a:

    • Regression problem

    • B

      Classification problem

    • C

      Clustering problem

    • D

      Dimensionality reduction problem

    The target is a continuous number, which makes it regression. Predicting a category, such as sells within a month yes/no, would be classification.

  3. 3

    A model scores 99% accuracy on training data but 70% on the test set. What is the most likely problem?

    • A

      Underfitting

    • Overfitting

    • C

      Too little model capacity

    • D

      A perfectly tuned model

    The model memorized noise in the training data and does not generalize. Underfitting shows poor performance on both training and test data.

  4. 4

    Which change is most likely to reduce overfitting?

    • Add regularization or collect more training data

    • B

      Train for many more epochs

    • C

      Add more features and parameters

    • D

      Evaluate only on the training set

    Regularization penalizes complexity, and more data makes noise harder to memorize. Early stopping, dropout and simpler models also help. Training longer and adding parameters usually make overfitting worse.

  5. 5

    What is the test set for?

    • A

      Choosing hyperparameters

    • A final, unbiased estimate of performance after all tuning is done

    • C

      Training the model

    • D

      Removing outliers

    Hyperparameters are tuned on a validation set (or with cross-validation). If you tune on the test set, its score becomes optimistic because information has leaked into your choices.

  6. 6

    A spam filter has 40 true positives, 10 false positives and 20 false negatives. What is its precision?

    • A

      0.67

    • B

      0.50

    • C

      0.33

    • 0.80

    : of the emails it flagged, 80% were spam. 0.67 is recall.

  7. 7

    Using the same counts (TP = 40, FP = 10, FN = 20), what is the recall?

    • A

      0.80

    • About 0.67

    • C

      0.50

    • D

      About 0.33

    : it caught two-thirds of the actual spam. Recall asks how much of the real positive class you found.

  8. 8

    In a fraud data set, 99% of transactions are legitimate. A model that predicts "legitimate" for everything has what accuracy, and is it useful?

    • 99% accuracy, but useless, because it never catches fraud

    • B

      1% accuracy, so it is useless

    • C

      99% accuracy and very useful

    • D

      50% accuracy, since there are two classes

    With imbalanced classes, accuracy is misleading. This model has 0 recall on fraud. Use precision, recall, F1 or the area under the precision-recall curve instead.

  9. 9

    A model has precision 0.8 and recall 0.5. What is its F1 score?

    • About 0.62

    • B

      0.65

    • C

      0.40

    • D

      1.30

    . It is the harmonic mean, which sits closer to the weaker value. 0.65 is the simple average.

  10. 10

    During gradient descent, the loss bounces around and grows instead of decreasing. What is the most likely cause?

    • A

      The learning rate is too low

    • B

      The data set is too large

    • C

      The model has too few features

    • The learning rate is too high

    Steps that are too big overshoot the minimum and can diverge. A learning rate that is too low gives the opposite symptom: very slow, steady progress.

  11. 11

    What is the main purpose of k-fold cross-validation?

    • A

      To make training faster

    • To get a more reliable performance estimate by training and validating on k different splits

    • C

      To increase the size of the data set

    • D

      To remove the need for a test set entirely

    Each fold takes a turn as the validation set, and the k scores are averaged. This reduces the luck of a single split, which matters most with small data sets. A held-out test set is still good practice for the final check.

  12. 12

    Which regularization method can shrink some model weights to exactly zero, effectively selecting features?

    • A

      L2 (ridge)

    • B

      Dropout

    • C

      Batch normalization

    • L1 (lasso)

    The L1 penalty (sum of absolute weights) has corners that push weights to exactly 0. L2 (sum of squared weights) shrinks weights toward zero but rarely makes them exactly zero.

  13. 13

    A data scientist fits a StandardScaler on the full data set and then splits it into training and test sets. What is wrong?

    • A

      Nothing; this is the recommended order

    • B

      Scaling should only be applied to the test set

    • C

      StandardScaler cannot be used before a split

    • Data leakage: test-set statistics influenced the training data

    The mean and standard deviation now include test data, so the test score is slightly optimistic. Split first, fit the scaler on the training set only, then transform both sets (a pipeline does this for you).

  14. 14

    Why should features be scaled before using k-nearest neighbors?

    • A

      k-NN only accepts values between 0 and 1

    • Distance calculations are dominated by features with large numeric ranges

    • C

      Scaling reduces the number of neighbors needed

    • D

      Scaling turns k-NN into a linear model

    If income ranges in the tens of thousands and age only in the tens, income decides almost every distance. Standardizing puts features on comparable scales. Tree-based models do not need this.

  15. 15

    How does a random forest differ from a single decision tree?

    • A

      It uses one very deep tree

    • B

      It is a neural network with tree-shaped layers

    • C

      It always uses fewer features than a single tree and has higher bias

    • It averages many trees trained on bootstrap samples with random feature subsets, which reduces variance

    Bagging plus random feature selection makes the trees less correlated, so averaging them cuts the overfitting a single deep tree is prone to.

  16. 16

    As model complexity increases, what generally happens to bias and variance?

    • Bias decreases and variance increases

    • B

      Bias increases and variance decreases

    • C

      Both decrease

    • D

      Both increase

    Simple models underfit (high bias), and complex models fit noise (high variance). The best test error usually comes from a complexity in between, which is the bias-variance trade-off.