8000 BIC formula or calculation not mentioned · Issue #17072 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
8000

BIC formula or calculation not mentioned #17072

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bsamanvitha opened this issue Apr 28, 2020 · 4 comments · Fixed by #23146
Closed

BIC formula or calculation not mentioned #17072

bsamanvitha opened this issue Apr 28, 2020 · 4 comments · Fixed by #23146

Comments

@bsamanvitha
Copy link
bsamanvitha commented Apr 28, 2020

Describe the issue linked to the documentation

In this link:
https://scikit-learn.org/stable/auto_examples/mixture/plot_gmm_selection.html

there is no mention of how the BIC metric is calculated. Some textbooks show a negative sign and some show a positive sign before the equation.

Suggest a potential alternative/fix

It would be nice to show a latex formula of BIC used in the implementation.

@ishdutt
Copy link
ishdutt commented May 6, 2020

I couldn't find any discrepancy in BIC formula over the internet. It's just that in some places the negative term is written first. You can check out this paper Here
Hope that it helped.

@bsamanvitha
Copy link
Author

I couldn't find any discrepancy in BIC formula over the internet. It's just that in some places the negative term is written first. You can check out this paper Here
Hope that it helped.

Yes, I never said there is a "discrepancy". It's about the negative sign. It would be nice to show if the implementation is using negative or positive sign.

@Micky774
Copy link
Contributor
Micky774 commented Apr 16, 2022

The formula for BIC is explicitly covered in the user guide. This is also linked in the docstring/API page of mixture.GaussianMixture and mixture.GaussianMixture.bic. I'll open a PR suggesting a direct link in the plot example.

@Micky774 Micky774 moved this from Delegate📪 to In Progress🏗 in Quansight's scikit-learn Project Board Apr 16, 2022
@thomasjpfan
Copy link
Member

Currently it takes quite a few clicks to go from the example to the API page to the user guide.
To help future readers, I think it makes sense to link BIC from the example to the user guide

Gaussian Mixture Models using information-theoretic criteria (BIC).

Repository owner moved this from In Progress🏗 to Done🚀 in Quansight's scikit-learn Project Board Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
0