From cfa5b3f12ca9f882b8f70b4fa0951fc46baa30d4 Mon Sep 17 00:00:00 2001 From: longyu Date: Fri, 19 Aug 2022 12:39:08 +0200 Subject: [PATCH] add new line --- freqtrade/freqai/data_kitchen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/freqai/data_kitchen.py b/freqtrade/freqai/data_kitchen.py index af2f65696..421b30bf5 100644 --- a/freqtrade/freqai/data_kitchen.py +++ b/freqtrade/freqai/data_kitchen.py @@ -510,6 +510,7 @@ class FreqaiDataKitchen: np.fill_diagonal(pairwise, np.NaN) pairwise = pairwise.reshape(-1, 1) avg_mean_dist = pairwise[~np.isnan(pairwise)].mean() + return avg_mean_dist def use_SVM_to_remove_outliers(self, predict: bool) -> None: