Bugfix in FCM_FTS
This commit is contained in:
parent
18a95dad2e
commit
e7d603015a
@ -395,7 +395,7 @@ def log_result(conn, datasetname, result):
|
|||||||
hUtil.insert_hyperparam(record, conn)
|
hUtil.insert_hyperparam(record, conn)
|
||||||
|
|
||||||
|
|
||||||
def execute(datasetname, dataset, **kwargs):
|
def execute(dataset, **kwargs):
|
||||||
file = kwargs.get('file', 'hyperparam.db')
|
file = kwargs.get('file', 'hyperparam.db')
|
||||||
|
|
||||||
conn = hUtil.open_hyperparam_db(file)
|
conn = hUtil.open_hyperparam_db(file)
|
||||||
@ -421,7 +421,7 @@ def execute(datasetname, dataset, **kwargs):
|
|||||||
ret['time'] = end - start
|
ret['time'] = end - start
|
||||||
experiment = {'individual': ret, 'statistics': statistics}
|
experiment = {'individual': ret, 'statistics': statistics}
|
||||||
|
|
||||||
ret = process_experiment(experiment, datasetname, conn)
|
ret = process_experiment(experiment, '', conn)
|
||||||
|
|
||||||
if distributed == 'dispy':
|
if distributed == 'dispy':
|
||||||
dUtil.stop_dispy_cluster(cluster, http_server)
|
dUtil.stop_dispy_cluster(cluster, http_server)
|
||||||
|
Loading…
Reference in New Issue
Block a user