sktime / sktime/pytorch-forecasting
model.predict() should not require presence of "target"
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5k
- Forks
- 912
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 12
Description
When I try to do model.predict(df) and df does not contain the target, I get an error.
In predict mode, it shouldn't care if the "target" is present or not, so it's unclear if I'm doing something wrong, or if it's expected behavior.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing model.predict(df) with a dataframe that omits target, then trace the validation path that raises the error. Done means prediction accepts target-free input while preserving existing behavior when target is present, with a regression test covering the target-free case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100