Git Product home page Git Product logo

Comments (4)

JulesBelveze avatar JulesBelveze commented on May 31, 2024

Hey @mreyessierra thanks for your interest. Let me try to answer your questions 🤓

  1. Not sure to get what your problem is on that one. Once your model is trained you can use it in eval mode to reconstruct your time series. However, you won't be able to reconstruct for the first few timestamps as they are used as "history". Does that answer your question?
  2. I haven't provided code to only perform inference. But if you only want to run the evaluation process you could use the function defined here.
  3. Yeah it does leverage the global context! :)

Hope it helps!

from time-series-autoencoder.

mreyessierra avatar mreyessierra commented on May 31, 2024

Thank you very much for the answers!
Regarding the evaluation, since the model fragments the time series (for training and evaluation), I'm not very clear on which parameter should I use in train_test_split so that the model applies the reconstruction process to the complete series.
On the other hand, regarding this condition: if cfg.general.do_eval and cfg.general.get("ckpt", False), how do I make sure to satisfy the part of cfg.general.get("ckpt", False)? Thank you again!"

from time-series-autoencoder.

JulesBelveze avatar JulesBelveze commented on May 31, 2024

Okay I think I got it. If you want to run the evaluation on the entire series (which is not advised as you would evaluate the model on windows it has been trained on), you would have to set the train_size parameter to 0 (dunno if scikit-learn will complain btw).

Regarding the second part of your question: to meet the condition you would have to either modify the yaml file to have a general.ckpt parameter. Or add a flag +=general.ckpt=PATH_TO_YOUR_CHECKPOINTS when running your file.

Let me know if this helps

from time-series-autoencoder.

mreyessierra avatar mreyessierra commented on May 31, 2024

series_1
Thank you very much for responding, and I apologize for the delay in my reply. What I really wanted to do (and am trying to do) is use one dataset for training-evaluating and another just for evaluating, which is why I was wondering how to evaluate the model on the complete series. The train_test_split function indeed does not allow a zero value for train_size :) I've been working on this these days. Now, I have a question related to the results I've obtained. In the image, I send an example where the predicted series is noisier than the original, which was supposed to be cleaned... do you have any idea why this happens or in what cases this occurs? Thank you very much!

from time-series-autoencoder.

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.