scikit-learn / scikit-learn/scikit-learn

Question about the computation of the lower bound in mixture.bayesian_mixture.py

Open
#8,823 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Documentation module:mixture
Dominant language
Python
Stars
67.3k
Forks
27.4k
Avg merge
1d 15h
Merged PRs (30d)
58

Description

In method _compute_lower_bound of mixture.bayesian_mixture.py all the terms that should be in the lower bound aren't there.
That's normal for constant terms but for the others is there an explanation ?

(The formula in Bishop book is :

lower_bound_formula
)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in mixture.bayesian_mixture.py at _compute_lower_bound and compare its terms with the Bishop lower-bound formula linked in the issue. Trace the quantities used by that method and determine whether omitted non-constant terms are intentionally represented elsewhere or indicate an implementation problem. Done means documenting the explanation or identifying a reproducible correction, with relevant tests updated if behavior changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.