Comments (4)
opps i forgot to fix the readme... yes just use the input_size=19
from pytorch-ts.
@kashif thanks ! However, I do not get why input_size
is not a hyperparameter and is constraint by something else ?
from pytorch-ts.
good question @vfdev-5 so the input_size
is the size of the features which are then passed to the RNN for example. The feature size depends on the freq of the time series data (via lag features and time features), as well as on the possible static or time-dependent covariates of a dataset and finally on the user-defined possible embedding sizes from any possible categorical covariates... thus I found it easiest to just use the error message to get the right input size... another solution would be to get it from the final batches... but I hope that answers your question?
with respect to the RNN its hidden size is a hyperparameter and you can choose it as you like but there is some default value (which I forget)...
from pytorch-ts.
Thanks for a detailed answer @kashif !
Right, that's true that input_size
for LSTM behind DeepAREstimator
means the number of features: (batch_size, sequence_length, input_size), https://pytorch.org/docs/stable/generated/torch.nn.LSTM.html
The feature size depends on the freq of the time series data (via lag features and time features), as well as on the possible static or time-dependent covariates of a dataset and finally on the user-defined possible embedding sizes from any possible categorical covariates... thus I found it easiest to just use the error message to get the right input size... another solution would be to get it from the final batches... but I hope that answers your question?
It would be nice to see somewhere a clear description on how these parameters are coupled together.
from pytorch-ts.
Related Issues (20)
- A question about the hyperparameter Settings of the model Time-Grad on both of Solar and Wikipedia datasets.
- Issue while runing the Readme
- can't generate dataset "pts_m5" HOT 5
- TypeError: `model` must be a `LightningModule` or `torch._dynamo.OptimizedModule`, got `TimeGradLightningModule`
- ValidationError: 1 validation error for PyTorchPredictorModel
- TypeError: PyTorchPredictor.__init__() got an unexpected keyword argument 'freq' HOT 14
- too many indices for array: array is 1-dimensional, but 2 were indexed
- Data imputation.
- TimeGrad Notebook version 0.7.0 -> predicts all nans HOT 8
- TimeGrad-electricity error
- Pytest pydantic throws an error
- Reproducing the results in "Multivariate Probabilistic Time Series Forecasting via Conditioned Normalizing Flows" in need of Parameters
- ImportError: cannot import name 'PyTorchPredictor' from partially initialized module 'gluonts.torch.model.predictor' HOT 1
- Import Error in pts/modules/distribution_output.py
- TimeGrad: Adding Covariates as Conditioning Input HOT 4
- ModuleNotFoundError: No module named 'lightning' HOT 1
- TimeGrad Error: "target" does not have the requireddimension
- Module Import Issue in Version 0.70 HOT 4
- Error : Train TimeGradEstimator with ComplexSeasonalTimeSeries from GluonTS
- how can i apply TimeGrad to MS task?
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 pytorch-ts.