(jain_fairness_list,gs_fairness_list,full_path)
| 324 | plt.close() |
| 325 | |
| 326 | def plot_fairness_lines(jain_fairness_list,gs_fairness_list,full_path): |
| 327 | plt.plot(jain_fairness_list,label="jain_fairness") |
| 328 | plt.plot(gs_fairness_list, label="gs_fairness") |
| 329 | if params.trainable is True: |
| 330 | plt.xlabel("Training episode") |
| 331 | else: |
| 332 | plt.xlabel("Step") |
| 333 | plt.ylabel("fairness") |
| 334 | plt.grid(True) |
| 335 | plt.grid(linestyle='--') |
| 336 | plt.legend() |
| 337 | plt.savefig(full_path + "/"+"different_fairness"+'.png') |
| 338 | plt.close() |
| 339 |
nothing calls this directly
no outgoing calls
no test coverage detected