From 123909cdace327fd42d98ed886768a2411309299 Mon Sep 17 00:00:00 2001 From: Robert Caulk Date: Thu, 26 Sep 2024 16:31:43 +0200 Subject: [PATCH] fix: Update BasePyTorchRegressor.py --- freqtrade/freqai/base_models/BasePyTorchRegressor.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/freqtrade/freqai/base_models/BasePyTorchRegressor.py b/freqtrade/freqai/base_models/BasePyTorchRegressor.py index 9b429db23..5f53e7d07 100644 --- a/freqtrade/freqai/base_models/BasePyTorchRegressor.py +++ b/freqtrade/freqai/base_models/BasePyTorchRegressor.py @@ -86,9 +86,6 @@ class BasePyTorchRegressor(BasePyTorchModel): dk.feature_pipeline = self.define_data_pipeline(threads=dk.thread_count) dk.label_pipeline = self.define_label_pipeline(threads=dk.thread_count) - dd["train_labels"], _, _ = dk.label_pipeline.fit_transform(dd["train_labels"]) - dd["test_labels"], _, _ = dk.label_pipeline.transform(dd["test_labels"]) - (dd["train_features"], dd["train_labels"], dd["train_weights"]) = ( dk.feature_pipeline.fit_transform( dd["train_features"], dd["train_labels"], dd["train_weights"]