def METHOD_NAME(mnist_visiondata_test):
    scorer = make_scorer(jaccard_score, average=None, zero_division=0)
    metric_dict = get_scorers_dict(mnist_visiondata_test, {'kappa': scorer})
    res = calculate_metrics(metric_dict, mnist_visiondata_test)
    assert_that(np.mean(list(res['kappa'].values())), close_to(0.976, 0.001))