예제 #1
0
def test_dandelion(dataset):
    for i, g in enumerate(np.arange(0.7, 1, 0.01)):
        result = clf.cluster_dandelion(dataset, gamma=g)
        pp.pprint(result)
        result['n_attempt'] = i + 1
        result['test'] = 'second_dandelion_re1'
        result['dataset'] = '{0}_abstract_lsa'.format(dataset)
        mongo.save_document(result)
예제 #2
0
def test_dandelion(dataset):
    for i, g in enumerate(np.arange(0.7, 1, 0.01)):
        result = clf.cluster_dandelion(dataset, gamma=g)
        pp.pprint(result)
        result["n_attempt"] = i + 1
        result["test"] = "second_dandelion_re1"
        result["dataset"] = "{0}_abstract_lsa".format(dataset)
        mongo.save_document(result)
예제 #3
0
def madness():
    result = clf.cluster_dandelion('re1', gamma=0.93)
    pp.pprint(result)
예제 #4
0
def madness():
    result = clf.cluster_dandelion("re1", gamma=0.93)
    pp.pprint(result)