tidymodels / tidymodels/workflows
check plausibility of model spec before fitting preprocessor
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 211
- Forks
- 26
- Avg merge
- 1h 58m
- Merged PRs (30d)
- 1
Description
In fit.workflow(), we can know whether a model fit will fail using parsnip::spec_is_possible(). Calling this before fitting the preprocessor would alleviate the pain of fitting a computationally intensive preprocessor, only for the model fit to then fail.
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 at fit.workflow() and inspect how it fits the preprocessor and model. Check how parsnip::spec_is_possible() can be called before the computationally intensive preprocessor runs. Done means impossible model specifications are detected before preprocessing and the existing fitting behavior remains unchanged for possible specifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100