def METHOD_NAME():
    actuals = np.array([4, 4, 3, 4, 4, 4, 1, 1, 2, 1])
    preds = np.array([0, 2, 1, 0, 0, 0, 1, 1, 2, 1])
    value = quadratic_kappa(actuals, preds)
    assert round(value, 3) == -0.139
    actuals = np.array([0, 1, 0, 1])
    preds = np.array([[0.8, 0.1, 0.1], [0.7, 0.1, 0.2], [0.1, 0.8, 0.1], [0.1, 0.1, 0.8]])
    value = quadratic_kappa(actuals, preds)
    assert value == 0.25