1. A method of defect clustering in inspection patterns on the surface of a workpiece, said method comprising the steps of: (a) entering an occurrence probability distributions of clusters; and (b) classifying the defects in clusters having the highest occurrence probability.