protected boolean supportsConfidences(Attribute label){
  return label != null && label.isNominal();
}

protected boolean supportsConfidences ( Attribute label ) { return label != null && label . isNominal ( ) ; }
this method determines if confidence attributes are created depending on the current label . usually this depends only on the fact that the label is nominal , but subclasses might override this to avoid attribute construction for confidences .
