Source code for pyreason.scripts.learning.utils.model_interface

from dataclasses import dataclass
from typing import Optional


@dataclass
[docs] class ModelInterfaceOptions:
[docs] threshold: float = 0.5
[docs] set_lower_bound: bool = True
[docs] set_upper_bound: bool = True
[docs] snap_value: Optional[float] = 1.0