semsynth.backends
Backend implementations and shared interfaces.
Classes
|
Protocol describing the callable surface for backend implementations. |
|
Protocol applied to backend modules. |
- class semsynth.backends.Backend(*args, **kwargs)
Bases:
ProtocolProtocol describing the callable surface for backend implementations.
- run_experiment(df: pd.DataFrame, *, provider: str | None, dataset_name: str | None, provider_id: int | None, outdir: str, label: str, model_info: Dict[str, Any] | None, rows: int | None, seed: int, test_size: float, semmap_export: Dict[str, Any] | None = None) Path
Execute the backend for a dataset and return the run directory.
- class semsynth.backends.BackendModule(*args, **kwargs)
Bases:
ProtocolProtocol applied to backend modules.
- run_experiment(*, provider: str | None, dataset_name: str | None, provider_id: int | None, outdir: str, label: str, model_info: Dict[str, Any] | None, rows: int | None, seed: int, test_size: float, semmap_export: Dict[str, Any] | None = None) Path
Execute the backend for a dataset and return the run directory.
Modules
Backend interface definitions for SemSynth. |
|
MetaSyn backend implementation for SemSynth. |
|