GithubHelp home page GithubHelp logo

Comments (4)

ssfrr avatar ssfrr commented on July 23, 2024 1

less fancy, but also check out the examples for the python dtw package:

http://nbviewer.jupyter.org/github/pierre-rouanet/dtw/blob/master/simple%20example.ipynb

Seems like as long as we can plot a 2D matrix with imshow or equivalent (heatmap in PlotlyJS.jl works pretty well for this sort of thing), and overlay the path with x and y coords, it should be pretty useful.

from timewarp.jl.

ahwillia avatar ahwillia commented on July 23, 2024

I have something basic working. I think it would be cool to get some error bars around the path through the matrix to get a sense of how much slack there is in the fit. @ssfrr - do you know of any simple way to do this?

screen shot 2016-08-28 at 4 13 27 pm

from timewarp.jl.

ahwillia avatar ahwillia commented on July 23, 2024

I think it is cleaner if this package only implements computations related to dynamic time warping. I started another repo here to hold the plot recipes: https://github.com/ahwillia/TimeSeriesPlots.jl

from timewarp.jl.

ahwillia avatar ahwillia commented on July 23, 2024

I changed my mind. I'm going to organize the plots like this:

module TimeWarp

# ... dtw fitting code here

module WarpPlots
using Reexport
@reexport using Plots
# ... plotting recipes here
end

end

So that users can do:

using TimeWarp
using TimeWarp.WarpPlots
dtwplot(randn(10,1), randn(10,1))

To produce the plot above. This also allows users to change the Plots backend and not deal with plots unless they explicitly import them.

from timewarp.jl.

Related Issues (5)

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.