check_if_approx_reduct#
- skrough.checks.check_if_approx_reduct(x: ndarray, x_counts: ndarray, y: ndarray, y_count: int, attrs: Union[Sequence[int], ndarray[Any, dtype[int64]]], disorder_fun: Callable[[ndarray, int], float], epsilon: float, check_attrs_reduction: bool = True) bool[source]#
Check if specified attributes form an approximate reduct.
_extended_summary_
- Parameters:
x – _description_
x_counts – _description_
y – _description_
y_count – _description_
attrs – _description_
disorder_fun – _description_
epsilon – _description_
check_attrs_reduction – _description_. Defaults to True.
- Returns:
Indication whether the specified attributes form an approximate reduct with respect to the given disorder function and epsilon.