a90db800a369032192560bd0fddde5b007340473,research/differential_privacy/pate/ICLR2018/rdp_flow.py,,plot_rdp_total,#Any#Any#,116

Before Change



  fout_name = os.path.join(FLAGS.figures_dir, "rdp_flow2.pdf")
  print("Saving the graph to " + fout_name)
  fig.savefig(fout_name, bbox_inches="tight")
  plt.legend(loc=0, fontsize=13)
  plt.show()

After Change


  plt.yticks([0, .0005, .001, .0015, .002])

  plt.xlabel(r"Order $\alpha$", fontsize=16)
  plt.ylabel(r"RDP value $\varepsilon$ at $\alpha$", fontsize=16)
  ax.tick_params(labelsize=14)

  plt.legend(loc=0, fontsize=13)
  plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: tensorflow/models
Commit Name: a90db800a369032192560bd0fddde5b007340473
Time: 2018-05-07
Author: mironov@gmail.com
File Name: research/differential_privacy/pate/ICLR2018/rdp_flow.py
Class Name:
Method Name: plot_rdp_total


Project Name: richzhang/colorization-pytorch
Commit Name: 1cc19c989ca609584119a1973845e72598d754d4
Time: 2018-09-03
Author: rzhang88@gmail.com
File Name: test_sweep.py
Class Name:
Method Name:


Project Name: tensorflow/models
Commit Name: a90db800a369032192560bd0fddde5b007340473
Time: 2018-05-07
Author: mironov@gmail.com
File Name: research/differential_privacy/pate/ICLR2018/rdp_flow.py
Class Name:
Method Name: plot_rdp_curve_per_example