From e7d603015ae70c2ea8968bd321e4a0a90f41de0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=C3=B4nio=20C=C3=A2ndido?= Date: Tue, 28 Jan 2020 16:03:23 -0300 Subject: [PATCH] Bugfix in FCM_FTS --- pyFTS/fcm/GA.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyFTS/fcm/GA.py b/pyFTS/fcm/GA.py index e463b46..55bd9c1 100644 --- a/pyFTS/fcm/GA.py +++ b/pyFTS/fcm/GA.py @@ -395,7 +395,7 @@ def log_result(conn, datasetname, result): hUtil.insert_hyperparam(record, conn) -def execute(datasetname, dataset, **kwargs): +def execute(dataset, **kwargs): file = kwargs.get('file', 'hyperparam.db') conn = hUtil.open_hyperparam_db(file) @@ -421,7 +421,7 @@ def execute(datasetname, dataset, **kwargs): ret['time'] = end - start experiment = {'individual': ret, 'statistics': statistics} - ret = process_experiment(experiment, datasetname, conn) + ret = process_experiment(experiment, '', conn) if distributed == 'dispy': dUtil.stop_dispy_cluster(cluster, http_server)