tidymodels / parsnip

A tidy unified interface to models
https://parsnip.tidymodels.org
Other
597 stars 89 forks source link

Export `check_args()` for developers of custom models #1057

Closed mattheaphy closed 9 months ago

mattheaphy commented 9 months ago

Feature

check_args() is an internal generic function that is used by parsnip models to validate that parameters have reasonable values before a model is fit.

For developers of custom parsnip models, it would be nice if this function was exported so that appropriate S3 methods could be written to validate parameters on any new models.

simonpcouch commented 9 months ago

I agree with you! Will look into this.

In the spirit of https://github.com/tidymodels/parsnip/issues/826.🐛

mattheaphy commented 9 months ago

Thank you!

github-actions[bot] commented 9 months ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.