From 96728c64e55e11ba03d0423daab15a591d125518 Mon Sep 17 00:00:00 2001 From: xuehui Date: Mon, 4 Mar 2019 14:46:29 +0800 Subject: [PATCH] fix bug in cold start (#803) * fix bug in cold start * remove unused comment --- src/sdk/pynni/nni/metis_tuner/metis_tuner.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sdk/pynni/nni/metis_tuner/metis_tuner.py b/src/sdk/pynni/nni/metis_tuner/metis_tuner.py index 4c743651aa..d73e508ffb 100644 --- a/src/sdk/pynni/nni/metis_tuner/metis_tuner.py +++ b/src/sdk/pynni/nni/metis_tuner/metis_tuner.py @@ -354,7 +354,6 @@ def _selection(self, samples_x, samples_y_aggregation, samples_y, results_outliers = gp_outlier_detection.outlierDetection_threaded(samples_x, samples_y_aggregation) if results_outliers is not None: - for results_outlier in results_outliers: if _num_past_samples(samples_x[results_outlier['samples_idx']], samples_x, samples_y) < max_resampling_per_x: candidates.append({'hyperparameter': samples_x[results_outlier['samples_idx']],\