โ† All Data Science Flashcard Decks

Supervised Learning Models Flashcards

7 cards from real Data Science practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Supervised Learning Models flashcards as text
  1. What is the bias-variance tradeoff?

    Answer: A balance between underfitting and overfitting errors

    High bias underfits while high variance overfits; the tradeoff seeks minimal total error.

  2. In k-nearest neighbors, what happens as k increases?

    Answer: The decision boundary becomes smoother

    Larger k averages over more neighbors, smoothing the boundary and reducing variance.

  3. Which ensemble method builds trees sequentially, each correcting the previous one's errors?

    Answer: Gradient boosting

    Gradient boosting fits each new tree to the residual errors of the prior ensemble.

  4. What does a high recall but low precision indicate?

    Answer: Many false positives but few false negatives

    High recall catches most positives, but low precision means many predicted positives are wrong.

  5. Why is feature scaling important for SVM and KNN?

    Answer: They rely on distance calculations sensitive to feature magnitude

    Distance-based models let large-magnitude features dominate unless features are scaled.

  6. What is the role of the learning rate in gradient descent?

    Answer: It controls the step size of weight updates

    The learning rate scales how far weights move along the gradient each iteration.

  7. Which model assumes feature independence given the class label?

    Answer: Naive Bayes

    Naive Bayes assumes conditional independence of features, simplifying the joint probability.