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

Two vectors have to be the same size #2

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment
Open

Two vectors have to be the same size #2

GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

This seems to only work when the two vectors are of the same size? Is this 
requirement overcomeable?

Original issue reported on code.google.com by [email protected] on 7 Feb 2012 at 10:48

@GoogleCodeExporter
Copy link
Author

I've update the issue as a "request for enhancement" since it is not meant 
(currently) to work with variable length data.

Yes, we could upgrade to software to replace the constraint that the vectors 
have fixed size by some other set of definitions.

However, we need to have sane definitions. There are many definitions for the 
distance between same-size vectors. When the vectors have different length, 
defining the distance becomes more tricky.

Typically, the way forward is to resample your data so that they have the same 
size. This can be done using linear interpolation, for example.

Original comment by lemire on 7 Feb 2012 at 11:53

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant