01.0-parametric-umap-embedding-mnist-basic error: 'ParametricUMAP' object has no attribute '_history'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.3k
- Forks
- 871
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 5
Description
The following error occurs in the Jupyter notebook 01.0-parametric-umap-embedding-mnist-basic.
Looking through the code, the only place self._history would seem to be set is in the _fit_embed_data method but I can't find any place where this (presumably private) method is actually called. The notebook runs fine until this line and the problem occurs with a completely clean install using pip. Any guidance would be appreciated. Thanks.
-embedder._history.keys()
AttributeError Traceback (most recent call last)
in
1 embedder._history.keys()
AttributeError: 'ParametricUMAP' object has no attribute '_history'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the 01.0-parametric-umap-embedding-mnist-basic Jupyter notebook and trace how ParametricUMAP reaches _fit_embed_data. Check why _history is absent at the embedder._history.keys() line; done means the notebook reaches that line without AttributeError and the history is available as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100