def specificity(classify=lambda document:False, documents=[]):
    TP, TN, FP, FN = confusion_matrix(classify, documents)
    return float(TN) / ((TN + FP) or 1)
Predict the wishart embedding G of the GP. This is the density of the
dataset/ETHPy150Open clips/pattern/pattern/metrics.py/specificity--crossover with--dataset/ETHPy150Open SheffieldML/GPy/GPy/core/gp.py/GP.predict_wishart_embedding