Skip to content

Compatibility with string data types#74

Open
AndrewWilkins84 wants to merge 3 commits into
matrix-profile-foundation:masterfrom
AndrewWilkins84:master
Open

Compatibility with string data types#74
AndrewWilkins84 wants to merge 3 commits into
matrix-profile-foundation:masterfrom
AndrewWilkins84:master

Conversation

@AndrewWilkins84
Copy link
Copy Markdown

The proposed changes allow mp.compute() to work with string data types. mp.analyze() still needs work however since function calls to mass2() are used when discovering motifs and/or discords, but a new function could easily bypass this behavior and produce results comparable to https://www.cs.ucr.edu/~eamonn/PAN_SKIMP%20%28Matrix%20Profile%20XX%29.pdf (page 3).

Additionally, documentation suggests minimum window size should be 4. I have changed several of the functions I came across to reduce the minimum window size from 8 down to 4, consistent with documentation.

@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Jan 26, 2021

This pull request introduces 1 alert when merging 60dde27 into 5ef2382 - view on LGTM.com

new alerts:

  • 1 for Unused import

@vanbenschoten
Copy link
Copy Markdown
Contributor

@AndrewWilkins84 thanks for the PR! I'll review shortly. In the meantime, can you take a look at why the tests are failing? The Travis CI logs indicate that it may be a relative importing issue.

@vanbenschoten
Copy link
Copy Markdown
Contributor

Also, would you have any interest in creating a Jupyter notebook that highlights how to use Matrix Profile with string data types? I think the community would be very interested, and we could easily convert it into a blog post for the MPF website.

@AndrewWilkins84
Copy link
Copy Markdown
Author

AndrewWilkins84 commented Jan 27, 2021 via email

@vanbenschoten
Copy link
Copy Markdown
Contributor

vanbenschoten commented Jan 27, 2021 via email

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants