Attribute generation for classifiers