View source on GitHub |
Contains the accumulated results for "contains" conditions.
tfdf.py_tree.node.ScanStructureAccumulatorContainsInt()
Methods
add_allowed
add_allowed(
values: List[int]
) -> None
Adds a set of allowed values.
add_not_allowed
add_not_allowed(
values: List[int]
) -> None
Adds a set of not allowed values.
get_global_imutation_and_num_unique_values
get_global_imutation_and_num_unique_values() -> Tuple[Optional[int], Optional[int]]
Gets the missing replacement value compatible with global imp.
opt.
If global imputation optimization is not possible, returns None, None.
Returns | |
---|---|
The missing replacement value and number of dictionary items. Returns None, None is global imputation optimization is not possible. |