1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

Update CI and script

This commit is contained in:
Jactus
2020-12-14 18:08:24 +08:00
committed by you-n-g
parent 6b8824dd29
commit cb0b6fcdaa
2 changed files with 56 additions and 33 deletions

View File

@@ -68,10 +68,9 @@ def only_allow_defined_args(function_to_decorate):
def handler(signum, frame):
os.system("kill -9 %d" % os.getpid())
signal.signal(signal.SIGTSTP, handler)
signal.signal(signal.SIGINT, handler)
# function to calculate the mean and std of a list in the results dictionary
def cal_mean_std(results) -> dict:
mean_std = dict()