def first_test_re0(): for i, g in enumerate(np.arange(0.1, 1, 0.01)): result = clf.cluster_alchemy('re1', gamma=g, filter=True) pp.pprint(result) result['n_attempt'] = i + 1 result['test'] = 'fourth' mongo.save_document(result)
def first_test_re0(): for i, g in enumerate(np.arange(0.1, 1, 0.01)): result = clf.cluster_alchemy("re1", gamma=g, filter=True) pp.pprint(result) result["n_attempt"] = i + 1 result["test"] = "fourth" mongo.save_document(result)
def test_without_entity(): result = clf.cluster_alchemy('re1', gamma=1) pp.pprint(result) result['test'] = 'baseline' mongo.save_document(result)
def test_without_entity(): result = clf.cluster_alchemy("re1", gamma=1) pp.pprint(result) result["test"] = "baseline" mongo.save_document(result)