class_docstr: Sammon mapping function
code: def __init__(self, proximity_array: np.ndarray) -> None:
      self._proximity = proximity_array
      self._proximity_2 = self._proximity**2
      self._proximity_2[
          self._proximity_2 == 0
      ] = 1  # avoid ZeroDivision (for diagonal terms, or identical points)
      super().__init__(
          self._compute_distance,
          p.Array(shape=(self._proximity.shape[0], 2)),
      )
  
imports: import numpy
  import pandas
  import scipy.spatial
  from nevergrad.parametrization import parameter
  import nevergrad.common.typing
  from ..base import ExperimentFunction
  from .None import datasets
label_desc: Use image node_id 1 to create a new SammonMapping object from inherited base classes: ExperimentFunction with example: obj = SammonMapping(proximity_array)