#include <EvalNormalizer.hpp>
|
| static float | normalize (const std::string &eval_str, bool is_white_to_move) |
| static float | to_centipawns (float normalized) |
|
| static constexpr double | MATE_SCORE = 20000.0 |
| static constexpr double | CLIP_LIMIT = 8000.0 |
| static constexpr double | GAMMA = 350.0 |
◆ normalize()
| float EvalNormalizer::normalize |
( |
const std::string & | eval_str, |
|
|
bool | is_white_to_move ) |
|
inlinestatic |
Converts a raw CSV evaluation string (e.g., "35", "-100", "#5", "#-3") into a normalized win probability [-1.0, 1.0].
◆ to_centipawns()
| float EvalNormalizer::to_centipawns |
( |
float | normalized | ) |
|
|
inlinestatic |
Converts a normalized win probability [-1.0, 1.0] back to a raw CSV evaluation string.
◆ CLIP_LIMIT
| double EvalNormalizer::CLIP_LIMIT = 8000.0 |
|
staticconstexpr |
◆ GAMMA
| double EvalNormalizer::GAMMA = 350.0 |
|
staticconstexpr |
◆ MATE_SCORE
| double EvalNormalizer::MATE_SCORE = 20000.0 |
|
staticconstexpr |
The documentation for this class was generated from the following file: