allow less precision, ensure regex is catching the right chars
This commit is contained in:
parent
4edb30bfa8
commit
0d67afe15b
@ -71,7 +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(r"DBSCAN found eps of 1.75", caplog)
|
assert log_has_re(r"DBSCAN found eps of 1\.7\d\.", caplog)
|
||||||
|
|
||||||
|
|
||||||
def test_compute_distances(mocker, freqai_conf):
|
def test_compute_distances(mocker, freqai_conf):
|
||||||
|
Loading…
Reference in New Issue
Block a user