问题 I have a simple code: path = [filepath1, filepath2, filepath3] def umap_embedding(filepath): file = np.genfromtxt(filepath,delimiter=' ') if len(file) > 20000: file = file[np.random.choice(file.shape[0], 20000, replace=False), :] neighbors = len(file)//200 if neighbors >= 2: neighbors = neighbors else: neighbors = 2 embedder = umap.UMAP(n_neighbors=neighbors, min_dist=0.1, metric='correlation', n_components=2) embedder.fit(file) embedded = embedder.transform(file) name = 'file' np.savetxt