Utilities#
General-purpose helpers used across Skchange: tag classes that declare estimator capabilities, input and parameter validators, and segmentation conversions.
Validation#
Input and parameter validation helpers.
|
Validate X and set n_features_in_ and n_samples_in_ on the estimator. |
|
Check if the given scorer is a valid interval scorer. |
|
Validate an interval_specs array. |
|
Check if the given penalty is valid. |
Segmentation#
Conversions between dense per-sample segment labels and sparse changepoint indices.
|
Convert changepoint indices to per-sample segment labels. |
|
Convert per-sample segment labels to changepoint indices. |