interface
Segment generator protocol.
- class pysatl_cpd.data.generator.segments.interface.SegmentGenerator(*args, **kwargs)[source]
Bases:
ProtocolProtocol for generating synthetic time series segments.
Implement this protocol to create custom segment generators that produce synthetic data with specified distributions.
- property feature_names: tuple[str, ...]
Get feature names for the generated segment.
- Returns:
Tuple of feature names.
- Return type:
- generate(rng=None)[source]
Generate a synthetic segment.
- __init__(*args, **kwargs)