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)
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)
def madness(): result = clf.cluster_dandelion('re1', gamma=0.93) pp.pprint(result)
def madness(): result = clf.cluster_dandelion("re1", gamma=0.93) pp.pprint(result)