I have a program that uses a heuristic approach to sort elements into several buckets.
I have another program that does the same thing but computes exactly where each element should go.
When I compare the two results I see that some elements are in the right place and some are not. If I were to estimate the quality of the heuristic approach, how would I do it ?
Should I just divide the number of correctly placed elements using the heuristic approach with the total number of elements or is there a better way?? How would you do it?