|
In this problem, the ranges of the bucket have been fixed
Or: minimize: SqError(histogram) = ∑k=s1..e1 (h1 - fk)2 + ∑k=s2..e2 (h2 - fk)2 + ... + ∑k=sB..eB (hB - fk)2 |
|
are constant
|
is minimized if each term is minimized.
|
The only variable in Sr is hr
|
|
|
|
will minimize the error in bucket br
|
or:
or:
or:
or:
or:
or:
or:
or:
Now we replace back the "clumpsy notation":
|
|
In other words:
|
To compute the error of the histogram, we must compute the error of each bucket separately:
|
Example: in the above figure:
|
Problem:
|
Example: in the above figure:
|
|
|
|
And:
|
And one more:
|
Example:
|
|
And:
|
And one more:
|
Example:
|
|
Interpretation of this result:
|
|