from sklearn.metrics import jaccard_score
jaccard_score(Y_test, yhat, pos_label = 0, average = "weighted")