image_output_1.png
import numpy as np

import seaborn as sns

def plotDists(y):
    return
def acc(true, pred):
    assert len(true) == len(pred), 'Truth and Pred Lengths not same'
    true = np.array(true)
    pred = np.array(pred).astype(np.int32)
    return np.sum(true == pred) / len(true)

plotDists(y)