From b717c48ece87f0d4bb15746959100a51e72348c7 Mon Sep 17 00:00:00 2001 From: zhiyang7 Date: Wed, 29 Dec 2021 09:57:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=83=9C=E7=8E=87=E8=AE=A1=E7=AE=97=E5=BD=92?= =?UTF-8?q?=E4=B8=80=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- evaluate_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluate_server.py b/evaluate_server.py index de5b74f..70cc25d 100644 --- a/evaluate_server.py +++ b/evaluate_server.py @@ -201,7 +201,7 @@ def predict(): win_rates = {} for i in range(len(actions)): # Here, we calculate the win rate - win_rate = max(actions_confidence[i], -1) + win_rate = max(actions_confidence[i] * 7.2, -1) win_rate = min(win_rate, 1) win_rates[actions[i]] = str(round((win_rate + 1) / 2, 4)) result[actions[i]] = str(round(actions_confidence[i], 6))