예제 #1
0
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)
예제 #2
0
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)
예제 #3
0
def test_without_entity():
    result = clf.cluster_alchemy('re1', gamma=1)
    pp.pprint(result)
    result['test'] = 'baseline'
    mongo.save_document(result)
예제 #4
0
def test_without_entity():
    result = clf.cluster_alchemy("re1", gamma=1)
    pp.pprint(result)
    result["test"] = "baseline"
    mongo.save_document(result)