code: def main(argv):
      del argv  # Unused.
      fin_name = os.path.expanduser(FLAGS.counts_file)
      print("Reading raw votes from " + fin_name)
      sys.stdout.flush()
  
      plot_data_ind_curve()
      plot_two_data_ind_curves()
  
      v1 = [2550, 2200, 250]  # based on votes[2,]
      # v2 = [2600, 2200, 200]  # based on votes[381,]
      plot_rdp_curve_per_example(np.array([v1]), (100.0, 150.0))
  
      plot_rdp_of_sigma(np.array(v1), 20.0)
  
      votes = np.load(fin_name)
  
      plot_rdp_total(votes[:12000,], (100.0, 150.0))
      scatter_plot(
          votes[:6000,], None, None, 100, 20
      )  # w/o thresholding
      scatter_plot(votes[:6000,], 3500, 1500, 100, 20)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import os
  import sys
  from absl import app
  from absl import flags
  import matplotlib
  import matplotlib.pyplot
  import numpy
  import core
  import random
label_desc: Use image node_id 9 for calling a global function with example usage: main(argv) without return types