docs: def _find_neighbors(self, inst, avg_dist):
          """ Identify nearest hits and misses within radius defined by average distance over whole distance array.
          This works the same regardless of endpoint type. """
          NN = []
          min_indicies = []
  
          for i in range(self._datalen):
              if inst != i:
                  locator = [inst, i]
                  if i > inst:
                      locator.reverse()
                  d = self._distance_array[locator[0]][locator[1]]
                  if d < avg_dist:  # Defining the neighborhood with an average distance radius.
                      min_indicies.append(i)
          for i in range(len(min_indicies)):
              NN.append(min_indicies[i])
          return np.array(NN, dtype=np.int32)