From 190db963ec973db553de42d130298706c52559e0 Mon Sep 17 00:00:00 2001 From: Manos Date: Sat, 2 Oct 2021 23:59:39 +0200 Subject: [PATCH] code: OCD --- code/expt/t-drive.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/expt/t-drive.py b/code/expt/t-drive.py index cdbfca8..a211fbb 100644 --- a/code/expt/t-drive.py +++ b/code/expt/t-drive.py @@ -93,7 +93,7 @@ def main(args): mae_u[i] += lmdk_bgt.mae(seq, rls_data_u)/args.iter # Adaptive - rls_data_a, _, _ = lmdk_bgt.adaptive(seq, lmdks, bgt['epsilon'], .5, .5) + rls_data_a, _, _ = lmdk_bgt.adaptive(seq, lmdks, bgt['epsilon'], .75, .25) mae_a[i] += lmdk_bgt.mae(seq, rls_data_a)/args.iter # Event @@ -150,12 +150,10 @@ def main(args): # Show plot # plt.show() # Save plot - lmdk_lib.save_plot(path + '.pdf') + lmdk_lib.save_plot(path + '-.pdf') print('[OK]', flush=True) - - def parse_args(): ''' Parse arguments.