class_docstr: In some cases, the BH implementation was producing a collapsed embedding
  for all data points. For more information, see #233, #234.
class_docstr_tok: ["In","some","cases",",","the","BH","implementation","was","producing","a","collapsed","embedding","for","all","data","points",".","For","more","information",",","see","#","233",",","#","234","."]
code: def test_early_exaggeration_does_not_collapse(self):
      n_samples = [100, 150, 200]
      n_dims = [5, 10, 20]
  
      np.random.seed(42)
      for n in n_samples:
          for d in n_dims:
              x = np.random.randn(n, d)
              embedding = openTSNE.TSNE(random_state=42).fit(x)
              self.assertGreater(np.max(np.abs(embedding)), 1e-8)
  
imports: import unittest
  from functools import partial
  from scipy.spatial.distance import pdist, squareform
  import openTSNE
  import openTSNE.affinity
  import openTSNE.initialization
  import numpy
  from openTSNE.callbacks import VerifyExaggerationError
  from sklearn import datasets
  from sklearn.metrics import accuracy_score
  from sklearn.model_selection import train_test_split
  from sklearn.neighbors import KNeighborsClassifier
  from sklearn.manifold import SpectralEmbedding
label_desc: Use image node_id 1 for calling the TestEarlyExaggerationCollapse obj's underlying member method code with example usage: obj.test_early_exaggeration_does_not_collapse() without return types