Estimators
An estimator is a rule for using data to estimate an unknown quantity.
The sample mean is an estimator. It uses observed numbers to estimate a typical value.
Example
For the values:
the sample mean is:
In ML
Validation accuracy estimates future accuracy.
Average loss on a dataset estimates expected loss on the population we care about.
These estimates are useful, but they are still estimates. They can move when the sample changes.
This is the central caution. An estimator may be reasonable and still be wrong for a particular sample.
That is not a contradiction. Statistics does not promise that every sample gives the right number. It asks whether the rule behaves well across repeated samples from the population we care about.
Estimator Versus Estimate
The estimator is the rule.
The estimate is the number produced after applying the rule to data.
For example, "take the sample mean" is an estimator. The number 5 is an
estimate for the sample 2, 4, 6, 8.
What is the mean of 2, 4, 6, 8?
Compute it first, then check your number.
Hint
Add the four values, then divide by 4.
Solution
The estimator is the rule "take the mean." The estimate from this sample is the
number 5.
Is "take the sample mean" an estimator or an estimate?
Answer it first, then check.
Hint
The rule is the estimator.
Solution
"Take the sample mean" is an estimator because it is a rule for producing an estimate.
Can an estimate change when the sample changes?
Answer it first, then check.
Hint
The lesson says estimates can move when the sample changes.
Solution
Yes. Since an estimate is computed from sample data, changing the sample can change the estimate.
Is validation accuracy an estimate of future accuracy?
Answer it first, then check.
Hint
The validation set is a sample used to estimate future behavior.
Solution
Yes. Validation accuracy estimates how the model may perform on future examples, but it is still an estimate.
Enter 1 if a reasonable estimator can still give a poor estimate on one
unlucky or unrepresentative sample.
Compute it first, then check your number.
Hint
Think about validation accuracy computed on a small unusual validation set.
Solution
Enter 1. An estimator is a rule. It can be useful overall while still giving a
misleading estimate on one sample.
Before Moving On
An estimator is not the truth. It is a rule for making a disciplined guess.