josephsdavid / N2D

Library implementation of https://arxiv.org/abs/1908.05968v5
https://n2d.readthedocs.io/en/latest/
MIT License
23 stars 6 forks source link

Changing the clustering -- Embedding #16

Open youngandbin opened 2 years ago

youngandbin commented 2 years ago

With a vanilla n2d, I can get 2D embedding using model.hle However, when changing the clustering method, model.hle returns nothing. How can I get embeddings when I use different clustering method ?

youngandbin commented 2 years ago

problem solved!

It was stored in manifold and cluster object, n2d.manifold_cluster_generator()

For example, I can get embeddings from hc_clust.hle where

hc_clust = n2d.manifold_cluster_generator(
    umap.UMAP, umap_args, AgglomerativeClustering, hc_args)