Add check for empty classifiers