GithubHelp home page GithubHelp logo

Top K Motif about matrixprofile-ts HOT 4 CLOSED

target avatar target commented on May 28, 2024
Top K Motif

from matrixprofile-ts.

Comments (4)

vanbenschoten avatar vanbenschoten commented on May 28, 2024

We should add a routine to do this, but you can zip the matrix profile and matrix profile index arrays together, order by matrix profile value, remove redundant indices together (for instance, if index m and q both have the same motif and hence have a minimum with index d, then d will be represented twice), then select the k values with the lowest matrix profile values.

from matrixprofile-ts.

vanbenschoten avatar vanbenschoten commented on May 28, 2024

Two things worth calling out: since most datasets have a degree of randomness, you'll find that the same motif in two places might actually be slightly different, and hence the above method will treat them as different motifs even though visual inspection will reveal that they're the same. Also, the matrix profile is intentionally agnostic to why a given motif is present in the data, so it won't automatically remove motifs caused by artifacts in your data collection process. Thus, there will always need to be a degree of manual inspection necessary to get the most relevant information.

from matrixprofile-ts.

whitewalker007 avatar whitewalker007 commented on May 28, 2024

Thanks for the precise explanation.

from matrixprofile-ts.

vanbenschoten avatar vanbenschoten commented on May 28, 2024

@whitewalker007 If this works well for you, feel free to add a Jupyter notebook tutorial to the repo! We're going to start gathering examples of the code in order to enable others to use it better (with synthetic data, of course).

from matrixprofile-ts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.