add new line

This commit is contained in:
longyu 2022-08-19 12:39:08 +02:00
parent 277245c69d
commit cfa5b3f12c

View File

@ -510,6 +510,7 @@ class FreqaiDataKitchen:
np.fill_diagonal(pairwise, np.NaN) np.fill_diagonal(pairwise, np.NaN)
pairwise = pairwise.reshape(-1, 1) pairwise = pairwise.reshape(-1, 1)
avg_mean_dist = pairwise[~np.isnan(pairwise)].mean() avg_mean_dist = pairwise[~np.isnan(pairwise)].mean()
return avg_mean_dist return avg_mean_dist
def use_SVM_to_remove_outliers(self, predict: bool) -> None: def use_SVM_to_remove_outliers(self, predict: bool) -> None: