DominantFrequencyChange.add_condition_ratio_of_change_not_greater_than#

DominantFrequencyChange.add_condition_ratio_of_change_not_greater_than(percent_change_threshold: float = 0.25)[source]#

Add condition - require change in the ratio of the dominant value to be below the threshold.

Parameters
percent_change_thresholdfloat , default: 0.25

The maximal change in the ratio out of data between training data and test data that the dominant value is allowed to change