Giter VIP home page Giter VIP logo

Comments (5)

zhihanyue avatar zhihanyue commented on August 17, 2024

No. The output file is at training/DatasetName__RunName_Date_Time/out.pkl. You can easily load this file with pickle and plot the output.

from ts2vec.

Thanh-Binh avatar Thanh-Binh commented on August 17, 2024

Thanks
What is the format of data?
After loading my data has the length of 5
What does it mean? Number of prediction time steps?

from ts2vec.

zhihanyue avatar zhihanyue commented on August 17, 2024

Thanks
What is the format of data?
After loading my data has the length of 5
What does it mean? Number of prediction time steps?

It means the prediction horizon (e.g. 24,48,168,336,720). Check the code in /tasks/forecasting.py for more details.

        out_log[pred_len] = {
            'norm': test_pred,
            'raw': test_pred_inv,
            'norm_gt': test_labels,
            'raw_gt': test_labels_inv
        }

from ts2vec.

Thanh-Binh avatar Thanh-Binh commented on August 17, 2024

I have just look at your source code.
After training I want to use the trained model, e.g. for prediction of time series x0,x1, x2, ... xN by prediction horizon of 10.
How can I call it in the loop?
pseudo-code look like:
for i = 1: N
currentData = x[i]
// get prediction data xpred at (i + prediction_horizon)
end

Thanks

from ts2vec.

ayesha1093 avatar ayesha1093 commented on August 17, 2024

Hi,
Can you share the code if you were able to figure it out?

from ts2vec.

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.