question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ENH: Ordinal logistic regression

See original GitHub issue

Ordinal logistic regression (the proportional odds model) is a nice set of models that allow for the classification of ordered categories using the same machinery as binary logistic regression. As far as I know these models aren’t implemented outside the specialized mord package, and I think they could make a nice addition to the sklearn arsenal. The implementation is fairly straightforward, with estimation being done by maximum likelihood (gist below; there’s a minor constraint on the parameters which can be rewritten so that the problem becomes unconstrained), which can also take a penalized form, and so it should be possible to reuse a lot of existing code. Is there any way these could be included, and if so, what’s the best way to do so (creating new classes, or just extending existing ones)?

https://gist.github.com/dsaxton/92baf15b74c859e714a83f09029bf5b4

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dsaxtoncommented, Aug 29, 2019

@obarak We did not, but the package @hacktuarial mentions looks interesting

1reaction
jnothmancommented, Sep 19, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Ordinal Logistic Regression | R Data Analysis Examples
Introduction. The following page discusses how to use R's polr package to perform an ordinal logistic regression. For a more mathematical treatment of...
Read more >
How do I build a nested (hierarchical) model in an ordered ...
I am running the Ordinal Regression procedure (PLUM command) in SPSS/PASW Statistics. I would like to enter a block of predictors, such as...
Read more >
(PDF) Ordinal logistic regression - ResearchGate
The estimators of the multinomial model indicate the relationship of the outcome variable across categories of the independent variables ...
Read more >
[R] Ordinal logistic regression p-values
[R] Ordinal logistic regression p-values. Rune Haubo rhbc at imm.dtu.dk. Tue Aug 30 08:42:10 CEST 2011. Previous message: [R] Ordinal logistic regression p- ......
Read more >
Ordinal Logistic Regression models and Statistical Software
Ordinal logistic regression is a statistical analysis method that can be used to model the relationship between an ordinal response variable and one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found