lmcinnes / lmcinnes/umap

Way to calculate required memory

Open
#512 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.3k
Forks
871
Avg merge
1d 13h
Merged PRs (30d)
5

Description

I tried to use umap for a data frame of 3 million rows and a dimension of 300. Since I was running into a memory error with 32 GB of memory I wanted to find out if there is a way to calculate how much memory I need to run umap. I used low_memory=True as well as pynndescent.

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

The issue names UMAP, a 3-million-row, 300-dimensional data frame, low_memory=True, and pynndescent, but no files or tests. Start by investigating how these settings affect memory use and define whether the desired result is a documented estimate or a project capability; done should provide a validated way to estimate the required memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, performance
Issue type
Feature
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.