DominantFrequencyChange#
- class DominantFrequencyChange[source]#
Check if dominant values have increased significantly between test and reference data.
Deprecated since version 0.8.1: The DominantFrequencyChange check is deprecated and will be removed in the 0.11 version.
- Parameters
- dominance_ratiofloat , default: 2
Next most abundant value has to be THIS times less than the first (0-inf).
- ratio_change_thresfloat , default: 1.5
The dominant frequency has to change by at least this ratio (0-inf).
- n_top_columnsint , optional
amount of columns to show ordered by feature importance (date, index, label are first).
- __init__(dominance_ratio: float = 2, ratio_change_thres: float = 1.5, n_top_columns: int = 10, **kwargs)[source]#
- __new__(*args, **kwargs)#
Methods
|
Add new condition function to the check. |
|
Add condition - require p value allowed per column to be greater than threshold. |
|
Add condition - require change in the ratio of the dominant value to be less the threshold. |
Remove all conditions from this check instance. |
|
Run conditions on given result. |
|
Return check configuration (conditions' configuration not yet supported). |
|
Return check object from a CheckConfig object. |
|
|
Return check metadata. |
Name of class in split camel case. |
|
|
Return parameters to show when printing the check. |
Remove given condition by index. |
|
|
Run check. |
|
Run check. |