def test_loglikehood_distances():
    #Idepontent Test
    X = [['a', 'b', 'c']]
    n_items = 3
    D = loglikehood_coefficient(n_items, X, X)
    assert_array_almost_equal(D, [[1.]])

    #Vector x Non Vector
    X = [['a', 'b', 'c']]
    Y = [[]]
    n_items = 3
    D = loglikehood_coefficient(n_items, X, Y)
    assert_array_almost_equal(D, [[0.]])

    #Vector A x Vector B
    X = [[1, 2, 3, 4]]
    Y = [[2, 3]]
    n_items = 4
    D = loglikehood_coefficient(n_items, X, Y)
    assert_array_almost_equal(D, [[0.]])

    #BUG FIX: How to fix for multi-dimm arrays

    #Vector N x 1
    X = [['a', 'b', 'c', 'd'],  ['e', 'f', 'g', 'h']]
    Y = [['a', 'b', 'c', 'k']]
    n_items = 8
    D = loglikehood_coefficient(n_items, X, Y)
    assert_array_almost_equal(D, [[0.67668852], [0.]])

    #N-Dimmensional Vectors
    X = [['a', 'b', 'c', 'd'], ['e', 'f', 'g', 'h']]
    Y = [['a', 'b', 'c', 'd'], ['e', 'f', 'g', 'h']]
    n_items = 7
    D = loglikehood_coefficient(n_items, X, Y)
    assert_array_almost_equal(D, [[1., 0.], [0., 1.]])
expression : MODELPATH
dataset/ETHPy150Open muricoca/crab/scikits/crab/metrics/tests/test_pairwise.py/test_loglikehood_distances--crossover with--dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/expression/expression_parser.py/p_expression_modelpath