Skip to content

Commit

Permalink
Update EV normalization parameters for better performance
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
User1391 committed Nov 24, 2024
1 parent 9cf68d8 commit a2b4df0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ <h2>Log</h2>
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]
Expand Down

0 comments on commit a2b4df0

Please sign in to comment.