def compute_recall(y, tp):
 recall = (tp / T.maximum(1.0, y.sum()))
 return recall

def compute_recall ( y , tp ) : recall = ( tp / T . maximum ( 1.0 , y . sum ( ) ) ) return recall
computes the recall for the binary classification .