sktime / sktime/pytorch-forecasting

Explain weight column parameter in TimeSeriesDataset

Open
#620 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello, what's the use of 'weight' parameter (column name) in TimeSeriesDataset?
(I see that we can use the WeightedRandomSampler while creating DataLoader.)
So how doest the weight parameter works?
In source code I only see that data from that columns is copied into __weight__ column, but what's use of that?

Thank you.

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 at the TimeSeriesDataset weight parameter and trace where the copied weight column is consumed, including its relationship to the DataLoader and WeightedRandomSampler mentioned in the issue. Document the parameter's purpose and usage once its actual behavior is confirmed.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.