![](https://cocoinit23.com/wp-content/uploads/2020/11/umap-1-300x243.png)
PythonでUMAPを使おうとしたときに表題のエラー。
module 'umap' has no attribute 'UMAP'
pip install umapだとダメで、umap-learnをインストールするのが正解
pip uninstall umap
pip install umap-learn
参考
UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction — umap 0.5 documentation
![](https://pypi.org/static/images/twitter.abaf4b19.webp)
umap-learn
Uniform Manifold Approximation and Projection
コメント