Comments (8)
One thing Iām unsure about is how we dispatch between different models.
Also, do we want to support training of more than one model per run?
from gluonts.
Also, do we want to support training of more than one model per run?
Not sure why we would want to do that: the way I see it, each job would be one training, and should produce one model artifact that should be servable
from gluonts.
Although I think there is a point to be made that it could be simpler to use, SageMaker has the concept of one training-configuration is one job.
from gluonts.
One thing Iām unsure about is how we dispatch between different models.
The approach used in #151 is to dispatch the Estimator
based on an environment variable SWIST_ESTIMATOR_CLASS
(should really be GLUONTS_ESTIMATOR_CLASS
) or, if that variable is not set, through a special estimator_class
hyperparamter.
from gluonts.
through a special estimator_class hyperparamter
Which is not available during inference. Except, if we store it as part of the model. And that would imply that all models have to go through training. Not sure I like that.
from gluonts.
Another thought:
Since we have models which don't require offline training, we can make the shell accept Forecaster
s, where:
Forecaster = Union[Predictor, Estimator]
That way we would skip training if a Predictor
was specified and just start with the test
-step.
from gluonts.
through a special estimator_class hyperparamter
Which is not available during inference. Except, if we store it as part of the model. And that would imply that all models have to go through training. Not sure I like that.
@jaheba at inference time there should be no Estimator
involved; the container should be given instructions on how to instantiate a Predictor
: this will be whatever type of Predictor
with its own settings, or a GluonPredictor
(either a SymbolBlockPredictor
or a RepresentableBlockPredictor
, see https://github.com/awslabs/gluon-ts/blob/master/src/gluonts/model/predictor.py#L170 and all the lines that follow) which will be created using the network that was written to S3 after some training job.
from gluonts.
the container should be given instructions on how to instantiate a
Predictor
That was exactly my point. During training we can pass a hyper-parameter to select the right Estimator
/Predictor
. But during inference we would depend on the generated model, which not all models require.
from gluonts.
Related Issues (20)
- Support pydantic-2.5.3 HOT 2
- Notebook problem HOT 1
- Deserialize on CPU-only machine a model trained in colab (using gpu) HOT 1
- Inference Single Item on model trained on Multiple Items HOT 5
- Performance regression in negative binomial from 0.12 to 0.13 and onwards (at least for DeepAR in PyTorch) HOT 7
- INDEX OUT OF RANGE IN SELF -- Pytorch GluonTS for large datasets
- ValueError: setting an array element with a sequence. The requested array has an inhomogeneous HOT 1
- Missing changelog for 0.14.0
- metric mase
- Randomness Control in DeepAR. Advice Needed.
- support pandas 2.2.x
- Evaluation multiple windows took too long HOT 1
- Should num_default_lags and '7' be consistent ?
- Silence DeepAREstimator.train() messaging?
- When calling gluonts.evaluation.Evaluator(), include all the metrics that are calculated in the aggregate metrics in the metrics per time series, e.g. RMSE
- 'pandas._libs.tslibs.offsets.YearBegin' object has no attribute '_period_dtype_code'
- PyTorch Lightning logs are not synchronised when using distributed training HOT 1
- Blocked at implementing torch port of mx/distributions/mixture.py HOT 1
- How to use the Pandas frequency 'C' in gluonts.dataset.common.ListDataset
- Put out distr_arg instead of samples for DeepAR
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.