scikit-learn / scikit-learn/scikit-learn

Spectral clustering for large matrix

Open
#8,740 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

My affinity matrix size is 57600 by 57600. But when I use spectral clustering for that, the function throws 'memory error'.

Why does the function throws 'memory error'? Is it because of complexity of algorithm ?

My machine has 8 Gb ram ,but no GPU.

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 by locating the spectral clustering API and reproducing the memory error with the reported 57,600-by-57,600 affinity matrix on an 8 GB machine. Inspect the relevant implementation or documentation to determine whether the behavior is expected and what evidence would be needed for a fix or clearer explanation.

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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.