sktime / sktime/pytorch-forecasting

Meaning of min/max_encoder_length and min/max_prediction_length in TimeSeriesDataSet

Open
#482 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
5k
Forks
912
Avg merge
3d 13h
Merged PRs (30d)
12

Description

What is the meaning of having a range for encoder_length and prediction length in TimeSeriesDataSet?

Of course trying multiple value for encoder and prediction length might have an impact in the forecasting performance/business needs. But why do we set a range in the TimeSeriesDataSet instead of single values?
What does a model do with a range since I would assume that one model needs a single value to define the model architecture. A range of values does make sense for hyper-parameter optimization, is this the intention?
Can someone please explain what exactly the range for min/max encoder_length and prediction_length is used for and how to properly set it?

Thanks in advance

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the TimeSeriesDataSet entry point and trace how min/max_encoder_length and min/max_prediction_length are used. Document why ranges are accepted, how they affect dataset samples and model behavior, and how users should choose them; the issue does not name a specific file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.