tidymodels / tidymodels/workflows

check plausibility of model spec before fitting preprocessor

Open
#274 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.