dask / dask/dask-ml

Investigate changing the default `gamma` for SpectralClustering

Open
#227 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.