CVFilter

class hypex.transformers.CVFilter(target_roles=None, lower_bound=None, upper_bound=None, key='')[source]

Bases: Transformer

__init__(target_roles=None, lower_bound=None, upper_bound=None, key='')[source]

Initialize coefficient of variation filter of the columns in which it does not fit into the defined borders.

Parameters:
  • lower_bound (Optional[float]) – The minimum acceptable coefficient of variation below which we consider the column to be constant

  • upper_bound (Optional[float]) – The maximum acceptable coefficient of variation above which we consider the to be incorrect