Merge pull request #7593 from th0rntwig/prediction-shape

Fix constant PCA
This commit is contained in:
Robert Caulk
2022-10-24 08:33:36 +02:00
committed by GitHub
2 changed files with 15 additions and 11 deletions

View File

@@ -125,7 +125,8 @@ def test_normalize_data(mocker, freqai_conf):
freqai = make_data_dictionary(mocker, freqai_conf)
data_dict = freqai.dk.data_dictionary
freqai.dk.normalize_data(data_dict)
assert len(freqai.dk.data) == 32
assert any('_max' in entry for entry in freqai.dk.data.keys())
assert any('_min' in entry for entry in freqai.dk.data.keys())
def test_filter_features(mocker, freqai_conf):