Fix arm test failure

This commit is contained in:
Matthias 2022-09-26 07:02:25 +00:00
parent ecb41ff9aa
commit 041258a549

View File

@ -71,10 +71,7 @@ def test_use_DBSCAN_to_remove_outliers(mocker, freqai_conf, caplog):
freqai = make_data_dictionary(mocker, freqai_conf) freqai = make_data_dictionary(mocker, freqai_conf)
# freqai_conf['freqai']['feature_parameters'].update({"outlier_protection_percentage": 1}) # freqai_conf['freqai']['feature_parameters'].update({"outlier_protection_percentage": 1})
freqai.dk.use_DBSCAN_to_remove_outliers(predict=False) freqai.dk.use_DBSCAN_to_remove_outliers(predict=False)
assert log_has_re( assert log_has_re(r"DBSCAN found eps of 2\.3\d\.", caplog)
"DBSCAN found eps of 2.36.",
caplog,
)
def test_compute_distances(mocker, freqai_conf): def test_compute_distances(mocker, freqai_conf):