

def test_histogram_intersection_kernel():
    (n, d) = (3, 4)
    X = np.arange((n * d)).reshape((n, d))
    K = kernel(X)
    testing_helpers.expect(kernel, [X], K)

dataset/ETHPy150Open iskandr/parakeet/test/algorithms/test_histogram_intersection.py test_histogram_intersection_kernel/original