in ai-judge/inference.py [0:0]
def combine_score(cls_score, ks_dist, w=0.5):
'''Combine classification score and KS distance to construct final score'''
final_score = []
for s, d in zip(cls_score, ks_dist):
score = (w * s / 100 + (1 - w) * (1 - d)) * 100
final_score.append(score)
return final_score