Generalizes spacing for features in classification.