semsynth.backends

Backend implementations and shared interfaces.

Classes

Backend(*args, **kwargs)

Protocol describing the callable surface for backend implementations.

BackendModule(*args, **kwargs)

Protocol applied to backend modules.

class semsynth.backends.Backend(*args, **kwargs)

Bases: Protocol

Protocol 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: Protocol

Protocol 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

base

Backend interface definitions for SemSynth.

metasyn

MetaSyn backend implementation for SemSynth.

pybnesian

synthcity