Skip to content

dials for 'ordinal_reg' models#435

Merged
hfrick merged 17 commits intotidymodels:mainfrom
corybrunson:ordered
Mar 5, 2026
Merged

dials for 'ordinal_reg' models#435
hfrick merged 17 commits intotidymodels:mainfrom
corybrunson:ordered

Conversation

@corybrunson
Copy link
Contributor

This PR introduces two dials for the ordinal_reg() model (see this companion PR to parsnip): ordinal_link and odds_link. Together they form a composite link function for ordinal regression models. The PR also adds a minimal set of unit tests for them.

A third dial to control the parallel regression assumption is speculated here. However, since this is in preparation for a limited first release of the {ordered} extension, i suggest having a longer discussion with specialist and user feedback before introducing it.

A note about the commit history: I defined several additional dials for engine-specific rather than model-specific parameters before grasping this difference; see this thread.

(There is no open issue corresponding to this PR.)

@hfrick hfrick merged commit b2dbed8 into tidymodels:main Mar 5, 2026
15 checks passed
@hfrick
Copy link
Member

hfrick commented Mar 5, 2026

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants