Investigate changing the default `gamma` for SpectralClustering
Open
- Dominant language
- Python
- Stars
- 951
- Forks
- 262
- PR merge metrics
- No merged PRs in 30d
Description
The default of `1.0` often leads to 0s in the embedding arrays, leading to NaNs in the KMeans array.
Using `None`, which ends up using `1 / len(X)` doesn't seem to have this issue.
(will update w/ more info later).
Contributor guide
Research direction
Start by reproducing SpectralClustering with the default gamma of 1.0 and with gamma=None, then inspect the resulting embedding arrays and KMeans input for zeros and NaNs. Done means establishing whether the default should change and documenting the evidence and resulting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100