From a2b4df04f094eb0f562404b8b5e8502cd80a4ae5 Mon Sep 17 00:00:00 2001 From: Max Penders Date: Sun, 24 Nov 2024 18:45:14 -0500 Subject: [PATCH] Update EV normalization parameters for better performance Adjusted the steepness (k) and maximum value (L) of the EV normalization algorithm. This change aims to enhance the responsiveness and accuracy of the game's performance metrics. These new parameters should provide smoother transitions and more reliable evaluation outcomes. --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index adcab6f..2401270 100644 --- a/index.html +++ b/index.html @@ -197,8 +197,8 @@

Log

return; } data.games_played--; - const L = 0.5; // EV caps out at -1 or 1 - const k = 0.003; // Adjust the steepness for smoother changes, change this as per your requirement + const L = 0.8; // EV caps out at -1 or 1 + const k = 0.01; // Adjust the steepness for smoother changes, change this as per your requirement const x0 = 25; // The halfway point // Normalize the EV from [-1, 1] to [0, 2]