docs: def compute_adjacency_matrix(self, copy=False, **kwargs):
          """
          This function will compute the adjacency matrix.
          In order to acquire the existing adjacency matrix use
          self.adjacency_matrix as comptute_adjacency_matrix() will re-compute
          the adjacency matrix.
  
          Parameters
          ----------
          copy : boolean, whether to return a copied version of the adjacency matrix
          **kwargs : see distance.py docmuentation for arguments for each method.
  
          Returns
          -------
          self.adjacency_matrix : sparse matrix (N_obs, N_obs)
              Non explicit 0.0 values should be considered not connected.
          """
          if self.X is None:
              raise ValueError(distance_error_msg)
  
          kwds = self.adjacency_kwds.copy()
          kwds.update(kwargs)
          self.adjacency_matrix = compute_adjacency_matrix(self.X,
                                                           self.adjacency_method,
                                                           **kwds)
          if copy:
              return self.adjacency_matrix.copy()
          else:
              return self.adjacency_matrix