예제 #1
0
파일: test_lof.py 프로젝트: lamanchy/ml
def test_reachability_distance():
    instances = np.array(((1, 1), (2, 2), (3, 3)))
    print lof.reachability_distance(1, np.array((1, 1)), np.array((2, 2)),
                                    instances)
예제 #2
0
def test_reachability_distance():
    instances = ((1, 1), (2, 2), (3, 3))

    lof.reachability_distance(1, (1, 1), (2, 2), instances)
예제 #3
0
파일: test_lof.py 프로젝트: minhhx/pylof
def test_reachability_distance():
    instances = ((1,1),(2,2),(3,3))
    lof.reachability_distance(1, (1,1), (2,2), instances)