original_docstring: 
          Compute neighborhood of data points.
  
          Args:
              X: Data points
  
          Returns:
              A tuple of nearest neighbors scores and nearest neighbors ids.
  
          
docstring: Compute neighborhood of data points.
docstring_tokens: Compute neighborhood of data points .
code: def _compute_neighborhood_graph(self, X):
          """
          Compute neighborhood of data points.
  
          Args:
              X: Data points
  
          Returns:
              A tuple of nearest neighbors scores and nearest neighbors ids.
  
          """
          if self.truncation_size is not None:
              k = self.truncation_size
          else:
              k = X.shape[0]
  
          aff, ids = self._knn_search(X, k)
          return aff, ids
code_tokens: def _compute_neighborhood_graph ( self , X ) : if self . truncation_size is not None : k = self . truncation_size else : k = X . shape [ 0 ] aff , ids = self . _knn_search ( X , k ) return aff , ids
short_docstring: Compute neighborhood of data points.
short_docstring_tokens: Compute neighborhood of data points .
comment: """
          Compute neighborhood of data points.
  
          Args:
              X: Data points
  
          Returns:
              A tuple of nearest neighbors scores and nearest neighbors ids.
  
          """