class monad.config.EntityIds
monad.config.EntityIdsDefines early stopping callback for the training.
from monad.config import EntityIds
EntityIds(subquery="SELECT DISTINCT customer_id FROM customers WHERE age > 18")| Parameters |
|---|
subquery: str | None
Default: None
A SQL subquery used to define which entity IDs should be included or excluded.
file: pathlib.Path | None
Default: None
Path to a file containing the list of entity IDs to include or exclude.
matching:bool
Default: True
Determines the filtering mode for the IDs specified with subquery or file:
- If True, only the specified IDs are used.
- If False, the specified IDs are excluded.
