def classification_summary(y, t, label_num=None, beta=1.0, ignore_label=(-1)):
 return ClassificationSummary(label_num, beta, ignore_label)(y, t)

def classification_summary ( y , t , label_num = None , beta = 1.0 , ignore_label = ( - 1 ) ) : return ClassificationSummary ( label_num , beta , ignore_label ) ( y , t )
calculates precision .