code: def test_with_precomputed_distances(self):
      d = squareform(pdist(self.x))
      embedding = TSNE(metric="precomputed").fit(d)
      self.eval_embedding(embedding, self.y)
  
      d_new = cdist(self.x[:20], self.x)
      new_embedding = embedding.transform(d_new)
      self.eval_embedding(new_embedding, self.y[:20], "transform")
  
imports: import unittest
  from functools import partial
  import numpy
  from scipy.spatial.distance import pdist, squareform, cdist
  from sklearn import datasets
  from sklearn.metrics import accuracy_score
  from sklearn.neighbors import KNeighborsClassifier, NearestNeighbors
  import openTSNE
  from openTSNE import affinity, initialization, nearest_neighbors, TSNEEmbedding
label_desc: Use image node_id 3 for calling the TestUsageSimple obj's underlying member method code with example usage: obj.test_with_precomputed_distances() without return types