code: def gen_sparse_data():
      n = 1000
      q = 100
      dim = 5000
  
      data = np.random.binomial(1, 0.01, size=(n, dim))
      print(data.shape)
      np.savetxt("sample_sparse_dataset.txt", data, delimiter="\t")
  
      query = np.random.binomial(1, 0.01, size=(q, dim))
      print(query.shape)
      np.savetxt("sample_sparse_queryset.txt", query, delimiter="\t")
  
file_path: nmslib/python_bindings/integration_tests/test_nmslib.py
imports: import sys
  import os
  import time
  import numpy
  import nmslib
  from common import *
label_desc: Use image node_id 9 for calling a global function with example usage: gen_sparse_data() without return types