Comments (6)
It appears that your dataset has no column with the name target
, which is required.
from gluonts.
Thank you for reply jaheba,
It's obvious that my data don't have the name target.
Before applying the transformation my data have target but after applying the transformation it's getting splitted into past_target and future target which corresponds to context and prediction length
from gluonts.
@hari7696 when you call estimator.train
, the estimator
-specific transformation is applied internally: there is no need to apply the transformation by hand.
What happens in your example is that you apply a transformation outside, the "target"
field gets split into "past_target"
/"future_target"
and disappears, and this transformed data is once again passed through a transformation inside the call to estimator.train
, which expects "target"
to be there.
from gluonts.
@lostella
Hi Lostella
Thanks for the reply
This is the estimator I am using
estimator = DeepAREstimator(freq="4H",context_length = 48, prediction_length=24, distr_output = gluonts.distribution.GaussianOutput(), trainer=Trainer(epochs=50))
As you said the estimator specific tranformation will be applied to the data.
But I cant find any arguments except time_features related to transformer in DeepAREstimator
refered doc link : http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-93/1/api/gluonts/gluonts.model.deepar.html
can you give me some info on customizing the estimator specific transformer, I would like to add observed_features, age, is_pad and time_features to my data.
Thanks
from gluonts.
@hari7696 those features are automatically added by the transformation. In your example above, just do
predictor = estimator.train(train_ds)
without applying any transformation by hand to your data.
We will look into improving the documentation on how to correctly use estimators.
from gluonts.
Got a picture after looking into source code of DeepAREstimator().
Thank you
from gluonts.
Related Issues (20)
- The simple example runs to completion, but does not output a plot HOT 1
- `TypeError: list indices must be integers or slices, not tuple` when using `DummyValueImputation` HOT 1
- AssertionError when reproduction of Dlinear model HOT 18
- best way for non-periodicity data? HOT 5
- Update dependencies HOT 2
- Dependency clashes (in kaggle) HOT 1
- Convert ListDataset to Multivariate dataset with gluonts.dataset.multivariate_grouper HOT 2
- Only a single validation batch is used if `estimator.train` called with `cache_data=True` HOT 3
- GluonTSDataError: Input for field "target" does not have the requireddimension (field: target, ndim observed: 2, expected ndim: 1) HOT 5
- Which datasets provided in the library are multivariate? HOT 1
- GPVAREstimator - AssertionError: HOT 3
- Numerical overflow in StdScaler HOT 1
- Training is extremely slow on Gluonts [Torch] HOT 1
- Unify QuantileOutput and DistributionOutput
- Unify the design of seq2seq PyTorch models
- Add support for all covariate types to all PyTorch models
- Change of behaviour from lightning logger HOT 2
- BUG No module named 'gluonts.torch.model.i_transformer' HOT 1
- The annotation of the parameter device of PyTorchPredictor is incomplete HOT 2
- Dataframe index is not uniformly spaced. If your dataframe contains data from multiple series in the same column ("long" format), consider constructing the dataset with `PandasDataset.from_long_dataframe` instead. 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 gluonts.