code: def select_side(hyperplane, offset, point, rng_state):
      margin = offset
      dim = point.shape[0]
      for d in range(dim):
          margin += hyperplane[d] * point[d]
  
      if abs(margin) < EPS:
          side = np.abs(tau_rand_int(rng_state)) % 2
          if side == 0:
              return 0
          else:
              return 1
      elif margin > 0:
          return 0
      else:
          return 1
  
imports: from warnings import warn
  import locale
  import numpy
  import numba
  import scipy.sparse
  from pynndescent.sparse import sparse_mul, sparse_diff, sparse_sum, arr_intersect, sparse_dot_product
  from pynndescent.utils import tau_rand_int, norm
  import joblib
  from collections import namedtuple
label_desc: Use image node_id 11 for calling a global function with example usage: select_side(hyperplane, offset, point, rng_state) and returns: int, int, int, int