Coder Social home page Coder Social logo

Comments (3)

kashif avatar kashif commented on June 15, 2024

@lorrp1 so the issue is I think you need to have a multivariate dataset for the multivariate methods, i.e. the target has to be a 2-dim array of time and variates with the one-dim flag set to False...

Also note that normalizing flows work best when you have high dim multivariate time series and not just 2 as in your case...

from pytorch-ts.

lorrp1 avatar lorrp1 commented on June 15, 2024

but is not this already a multivariate dataset?
@kashif

training_data1 = ListDataset(
    [{"start":pd.Timestamp(2017, 1, 1, 12) , "target":df.AAPL[:train]},
     {"start":pd.Timestamp(2017, 1, 1, 12) , "target":df.AMZN[:train]}
    ],
    one_dim_target=False,
    freq = "min"
)

i cant find example with this kind of data (using multivariate from csv) either here or gluons, all the example use -pre made dataset with metadata unlike im trying here.
i have tried with 5 variates but the result is the same.

from pytorch-ts.

kashif avatar kashif commented on June 15, 2024

so @lorrp1 you want in your example above a single time series with "target": np.stack( APP , AMZN ) if that makes sense... which is what the mutivariate grouper is doing...

what you have above is essentially two univariate time series...

from pytorch-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.