mvtsa.segmentation.ClassifierHomogeneity#

class mvtsa.segmentation.ClassifierHomogeneity(estimator=None, cv=3, window=1, max_samples=200, random_state=0)[source]#

Bases: object

Dissimilarity of two segments by a classifier two-sample test.

Parameters:
estimatorclassifier, optional

Any scikit-learn classifier (default: 5-nearest neighbours).

cvint

Folds of the stratified cross-validation.

windowint

If larger than 1, short stacked windows are classified instead of single samples (captures dynamics).

max_samplesint

Samples drawn from each segment.