Comments (4)
Hey @mreyessierra thanks for your interest. Let me try to answer your questions 🤓
- 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? - 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. - Yeah it does leverage the global context! :)
Hope it helps!
from time-series-autoencoder.
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.
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.
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)
- Tensors must have same number of dimensions: got 2 and 1 HOT 4
- Regarding input dimensions HOT 4
- where is the dataset? HOT 1
- Encoded state HOT 3
- BUG HOT 10
- reconstruction error HOT 8
- Decoder output
- Trained model on NFLX stock data from 2014-2021. Predictions are scaled wrongly. HOT 10
- Is the problem statement just prediction or forecasting? HOT 1
- AssertionError: Pytorch Issue with prediction window > 1 HOT 5
- Not working for many of the tickers HOT 1
- y_hist HOT 2
- No License HOT 1
- Got difficulties in accessing the dataset HOT 1
- I need to work with Google Colab? any get started exa;ple please? HOT 2
- issue when test the trained model
- error when the output_size isn't 1
- Question about model evaluation HOT 2
- Prediction of multiple outputs dependent on multiple features. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from time-series-autoencoder.