Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] fix tag logic in AggrDist and FlatDist #3971

Merged
merged 2 commits into from
Dec 25, 2022
Merged

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Dec 21, 2022

This fixes erroneous tag logic in AggrDist and FlatDist:

  • the "capability:unequal_length" tag of FlatDist should be False, as the compositor flattens the time series to a 2D numpy array (with equal length rows). For AggrDist, it is correctly set as True, as the aggregated distance does not assume equal length.
  • the "capability:missing_values" of both AggrDist and FlatDist should be set to the same as the wrapped tabular pairwise transformer.

@fkiraly fkiraly added module:distances&kernels dists_kernels and distances modules: time series distances, kernels, pairwise transforms bugfix Fixes a known bug or removes unintended behavior labels Dec 21, 2022
@fkiraly fkiraly merged commit 72b43e5 into main Dec 25, 2022
@fkiraly fkiraly deleted the fix-flatdist-tags branch December 25, 2022 23:35
fkiraly added a commit that referenced this pull request Dec 25, 2022
This PR adds a kernel support vector classifier for time series kernels.

The added estimator is an interface connector which ties together the `sklearn` support vector classifier and the `sktime` interface for time series distances and kernels.

Includes:
* #3956 which provides an example of an `sklearn` based kernel function.
* #3971 which fixes bugs with `FlatDist` used internally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes a known bug or removes unintended behavior module:distances&kernels dists_kernels and distances modules: time series distances, kernels, pairwise transforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant