Learn Before
Case Study

Evaluating task types to estimate the optimal error rate for an application

Case context: You are developing two machine learning applications: a spam email classifier and an algorithm to predict future stock market prices based on complex historical market data. You need to estimate the optimal error rate for both projects to conduct bias and variance analysis.

Question: Based on the two applications described, diagnose the feasibility of estimating the optimal error rate for each. How should your approach differ between the two tasks?

Sample answer: The spam email classifier is a human-friendly task where humans can easily identify spam. For this task, you can estimate the optimal error rate by measuring human-level performance. However, predicting stock market prices is a task humans struggle with. Estimating the optimal error rate for the stock predictor will be highly difficult or impossible, as there is no reliable human baseline to use as a proxy for the optimal error rate.

Key points:

  • Spam classification is human-friendly, allowing human performance to estimate optimal error.
  • Stock prediction is difficult for humans, making optimal error estimation challenging.
  • Task type dictates the method for finding the optimal error rate.

Rubric: The student must correctly identify that the spam classifier is human-friendly and can use human performance as an estimate for the optimal error rate, while the stock predictor is a task humans struggle with, making the optimal error rate very difficult to estimate.

0

1

Updated 2026-05-27

Contributors are:

Who are from:

Tags

Machine Learning

Deep Learning

Supervised Learning

Dive into Deep Learning @ D2L

Data Science

Machine Learning Strategy

Machine Learning Yearning @ DeepLearning.AI