lmcinnes / lmcinnes/umap

Type Error

Open
#561 6 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

hello,

I am trying to run this algorithm on my dataset but I am getting this TypeError.

TypeError Traceback (most recent call last)
in
22 intersection = umap.umap_.general_simplicial_set_intersection(fit1.graph_, fit2.graph_, weight=categorical_weight)
23 intersection = umap.umap_.reset_local_connectivity(intersection)
---> 24 embedding = umap.umap_.simplicial_set_embedding(fit1._raw_data, intersection, fit1.n_components,
25 fit1._initial_alpha, fit1._a, fit1._b,
26 fit1.repulsion_strength, fit1.negative_sample_rate,

TypeError: simplicial_set_embedding() missing 2 required positional arguments: 'densmap_kwds' and 'output_dens'

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 traceback points to umap.umap_.simplicial_set_embedding; start by checking its current signature and the callers that invoke it. Reproduce the reported call and verify that the missing arguments no longer produce the TypeError; the payload names no source file or test to run.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.