The indentation is kind of weird-looking here.

Suggestion:

    logger.debug("%s %s %s with decision %s "
                 % (doc, prediction, label_name,
                    self.label_estimators[label_name],
                    decision_function(features)))