Guide-linked quiz · Medium Level

Cost-Sensitive Learning Quiz

Covers cost matrices, weighting and resampling choices, and the assumptions behind a decision threshold that minimizes expected error cost.

Related guide pathsCost Sensitive Learning
Question 1 of 8

What core assumption does cost-sensitive learning remove from standard accuracy-driven training?

Preview every question8 questions

Answers and explanations appear as you take the quiz.

  1. What core assumption does cost-sensitive learning remove from standard accuracy-driven training?
    • That models must use gradient descent
    • That data must be labeled
    • That every type of misclassification carries the same cost
    • That features must be numeric
  2. In the fraud detection example, why is a missed fraud penalized more heavily than a false alarm?
    • Because false alarms are illegal
    • Because fraud is always rarer than legitimate transactions
    • Because the model cannot detect false alarms
    • Because an undetected fraud costs far more than a customer service call for a false alarm
  3. According to the guide, is cost-sensitive learning the same as handling class imbalance?
    • No, they overlap but are distinct, since a balanced dataset can still need cost-sensitive treatment
    • Yes, they are always identical
    • No, cost-sensitive learning only applies to text data
    • Yes, because imbalance always implies unequal costs
  4. Which parameter does the guide mention that libraries like scikit-learn or XGBoost use to implement class weighting directly?
    • learning_rate
    • class_weight or scale_pos_weight
    • max_depth
    • n_estimators
  5. What technique does MetaCost use, as described in the guide?
    • It removes all minority class examples
    • It only adjusts the learning rate schedule
    • It ignores the cost matrix entirely
    • It relabels training examples based on expected cost before fitting a standard classifier
  6. Under which assumptions does the guide’s C(FP)/(C(FP)+C(FN)) threshold apply?
    • Any score output, even if uncalibrated
    • Only when both classes are equally common
    • Calibrated posterior probabilities, two classes, zero correct-decision costs and fixed error costs
    • Only after resampling the training set
  7. Why does the guide describe threshold adjustment as often the simplest cost-sensitive technique?
    • Because it requires retraining the entire model
    • Because it requires no retraining, only recalibrating the decision boundary using existing predicted probabilities
    • Because it eliminates the need for a cost matrix
    • Because it only works on image data
  8. What does the guide identify as the main practical bottleneck limiting wider adoption of cost-sensitive learning?
    • Stakeholders being willing and able to specify costs accurately
    • Lack of available programming libraries
    • Insufficient computing power
    • Legal bans on cost matrices

Keep testing yourself

More quizzes picked for your level.

View all quizzes