code: OCD
This commit is contained in:
parent
7aef23f673
commit
190db963ec
@ -93,7 +93,7 @@ def main(args):
|
|||||||
mae_u[i] += lmdk_bgt.mae(seq, rls_data_u)/args.iter
|
mae_u[i] += lmdk_bgt.mae(seq, rls_data_u)/args.iter
|
||||||
|
|
||||||
# Adaptive
|
# 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
|
mae_a[i] += lmdk_bgt.mae(seq, rls_data_a)/args.iter
|
||||||
|
|
||||||
# Event
|
# Event
|
||||||
@ -150,12 +150,10 @@ def main(args):
|
|||||||
# Show plot
|
# Show plot
|
||||||
# plt.show()
|
# plt.show()
|
||||||
# Save plot
|
# Save plot
|
||||||
lmdk_lib.save_plot(path + '.pdf')
|
lmdk_lib.save_plot(path + '-.pdf')
|
||||||
print('[OK]', flush=True)
|
print('[OK]', flush=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def parse_args():
|
def parse_args():
|
||||||
'''
|
'''
|
||||||
Parse arguments.
|
Parse arguments.
|
||||||
|
Loading…
Reference in New Issue
Block a user