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.

R-like summary of LogisticRegression

See original GitHub issue

It would be very nice to have R-like summary() function. This is a popular question. I understand it doesn’t make sense to output R^2 by default along with everything else. But I think some summary is nice.

My proposal: When instantiating a model, allow the user to specify a header column. This will be used as the header column so that .coef_ can be outputted as a Pandas series, or another function can be added which would output this. This would make debugging models significantly easier.

Are there major objections or should I just implement it and submit a pull request?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
jnothmancommented, Nov 14, 2018

The difficulty isn’t storing them, it’s passing them in, and transferring/generating them through a sequence of transformers.

0reactions
thomasjpfancommented, Jul 28, 2022

From the triaging meeting, we think that R summary will not be added to scikit-learn because it is not in scope.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Logistic Regression Explained. - Towards Data Science
In this post, I will explain Logistic Regression in simple terms. It could be considered a Logistic Regression for dummies post, however, ...
Read more >
Understanding the Summary Output for a Logistic Regression ...
Logistic Regression Details Pt1: Coefficients · Interpreting R Output For Simple Linear Regression Part 1 · Triggers with realtime examples in ...
Read more >
Logistic Regression in R, Clearly Explained!!!! - YouTube
For more details on what's going on, check out the following StatQuests: For a general overview of Logistic Regression : ...
Read more >
What is Logistic Regression? - Definition from ... - TechTarget
Logistic regression is a statistical analysis method to predict a binary outcome, such as yes or no, based on prior observations of a...
Read more >
Logistic Regression in R, Stata and Python
The purpose of this tutorial is to demonstrate logistic regression in Stata, R and Python. The following is a brief summary of the...
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