Giter VIP home page Giter VIP logo

Comments (6)

Datseris avatar Datseris commented on June 5, 2024

@JonasIsensee I am assinging you because I think this one will be a good practice for improving multiple dispatch understanding and skills.

from timeseriesprediction.jl.

JonasIsensee avatar JonasIsensee commented on June 5, 2024

I believe I did that. Please review the Pull Request.

from timeseriesprediction.jl.

Datseris avatar Datseris commented on June 5, 2024

This can be made much easier simply by using returning always the same dimension as s, and when passing (s, D, τ) to first do a reconstruction (still return same dimensions as s)

from timeseriesprediction.jl.

JonasIsensee avatar JonasIsensee commented on June 5, 2024

I'm not exactly sure what you're suggesting but I did shorten things a bit.
Given a timeseries (AbstractVector or AbstractDataset) it performs a delay embedding and then calls the next localmodel_tsp method that takes in a prepared Reconstruction. I feel like it looks cleaner now, and especially more code is being reused now.

from timeseriesprediction.jl.

JonasIsensee avatar JonasIsensee commented on June 5, 2024

I got it down to three methods....

But now a given Reconstruction or MDReconstruction is treated as an AbstractDataset and everything is returned!

Only when a (multivariate) timeseries is given, it does the fancy stuff and returnes the last B columns.

Is this what you want?

from timeseriesprediction.jl.

Datseris avatar Datseris commented on June 5, 2024

Closed in #9

from timeseriesprediction.jl.

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.