umap: no min_dist

This commit is contained in:
Starbeamrainbowlabs 2022-09-16 17:09:09 +01:00
parent 5778fc51f7
commit a70794e661
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -7,7 +7,9 @@ import matplotlib.pylab as plt
import pandas import pandas
def vis_embeddings(filepath_output, features): def vis_embeddings(filepath_output, features):
dimreducer = umap.UMAP(min_dist=0.05).fit(features) dimreducer = umap.UMAP(
# min_dist=0.05
).fit(features)
px = 1 / plt.rcParams['figure.dpi'] # matplotlib sizes are in inches :-( :-( :-( px = 1 / plt.rcParams['figure.dpi'] # matplotlib sizes are in inches :-( :-( :-(
width = 1920 width = 1920