ageron / ageron/handson-ml2

Ch 04: Softmax Regressor vs Multiple OvR Logit Regressors

Open
#316 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Jupyter Notebook
Stars
30k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

Hi.

While the book makes it very clear how to create a multinomial logistic (softmax) regressor instead of the default composite model based on several OvR binary logistic regressors in the multilabel classification scenario (`LogisticRegression(multi_class="multinomial")`), what is NOT clear is:
1. which one is more accurate in general (in [this](https://scikit-learn.org/stable/auto_examples/linear_model/plot_logistic_multinomial.html) example the softmax regressor is clearly more accurate)
2. which one has better performance

It would be greatly appreciated if this clarification was either in the book or in the Jupyter note.

Thanks.
Gene.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.