Connectivity transformers¶
- class sekupy.preprocessing.connectivity.AverageEstimator(name='average_estimator', **kwargs)[source]¶
- class sekupy.preprocessing.connectivity.SingleRowMatrixTransformer(name='upper_matrix', **kwargs)[source]¶
This transformer change a row dataset representing a matrix in a square matrix dataset.
- class sekupy.preprocessing.connectivity.SlidingWindowConnectivity(window_length=1, shift=1, overlap=0)[source]¶
- class sekupy.preprocessing.connectivity.SpeedEstimator(name='speed_tc', **kwargs)[source]¶
- transform(ds, metric='euclidean')[source]¶
Transform the provided dataset.
This method applies the transformation to the dataset and records the transformation in the dataset’s preprocessing history.
- Parameters:
ds (Dataset) – The dataset to transform
- Returns:
The transformed dataset
- Return type:
Dataset