(self, percentage: float)
| 15 | |
| 16 | class BaseSampler(abc.ABC): |
| 17 | def __init__(self, percentage: float): |
| 18 | if not 0 < percentage < 1: |
| 19 | raise ValueError("Percentage value not in (0, 1).") |
| 20 | self.percentage = percentage |
| 21 | |
| 22 | @abc.abstractmethod |
| 23 | def run( |