ranges
Threshold range definitions for no-reset benchmark campaigns.
- class pysatl_cpd.benchmark.online.noreset.thresholds.ranges.ThresholdsRange(thresholds_range=<factory>)[source]
Bases:
ABCBase class for threshold range strategies.
Subclasses fill
thresholds_rangeat initialisation (or defer it).- Variables:
thresholds_range – Sequence of threshold values, populated by
__post_init__.- Parameters:
- abstractmethod __post_init__()[source]
Generate a linearly spaced threshold grid.
- Raises:
NotImplementedError – Subclasses must implement this method.
- Return type:
- class pysatl_cpd.benchmark.online.noreset.thresholds.ranges.ManualThresholdsRange(thresholds_range=<factory>, _values=())[source]
Bases:
ThresholdsRangeA threshold range defined by an explicit list of values.
- class pysatl_cpd.benchmark.online.noreset.thresholds.ranges.LinearThresholdsRange(thresholds_range=<factory>, start=0.0, end=1.0, count=10)[source]
Bases:
ThresholdsRangeA threshold range generated by linear interpolation.
- Variables:
start – Start of the range.
end – End of the range.
count – Number of thresholds.
- Parameters:
- __post_init__()[source]
Generate a linearly spaced threshold grid.
- Raises:
ValueError – If count is less than 1.
- Return type:
- class pysatl_cpd.benchmark.online.noreset.thresholds.ranges.AutoThresholdsRange(thresholds_range=<factory>, count=2)[source]
Bases:
ThresholdsRangeThreshold range resolved later by an external analyzer.
- Variables:
count – Desired number of thresholds.
- Parameters: