Skip to content

Commit

Permalink
manual tune
Browse files Browse the repository at this point in the history
test f15
  • Loading branch information
dhbloo committed Oct 12, 2024
1 parent 34dc002 commit 61290ab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Rapfi/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int NumNodesAfterSingularRoot = 100;
/// The power of two number of shards that the node table has.
int NumNodeTableShardsPowerOfTwo = 10;
/// The ratio to decrase utility when child draw rate is high.
float DrawUtilityPenalty = 0.0f;
float DrawUtilityPenalty = 0.35f;

// Time management options

Expand Down
22 changes: 11 additions & 11 deletions Rapfi/search/mcts/parameter.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@ namespace Search::MCTS {

constexpr float MaxNewVisitsProp = 0.36f;

constexpr float CpuctExploration = 0.39f;
constexpr float CpuctExplorationLog = 0.98f;
constexpr float CpuctExplorationBase = 340;
constexpr float CpuctExploration = 0.35f;
constexpr float CpuctExplorationLog = 1.02f;
constexpr float CpuctExplorationBase = 328;

constexpr float CpuctUtilityStdevScale = 0.043f;
constexpr float CpuctUtilityVarPrior = 0.16f;
constexpr float CpuctUtilityVarPriorWeight = 1.87f;
constexpr float CpuctUtilityStdevScale = 0.05f;
constexpr float CpuctUtilityVarPrior = 0.15f;
constexpr float CpuctUtilityVarPriorWeight = 1.80f;

constexpr float FpuReductionMax = 0.06f;
constexpr float FpuReductionMax = 0.055f;
constexpr float FpuLossProp = 0.0008f;
constexpr float RootFpuReductionMax = 0.073f;
constexpr float RootFpuLossProp = 0.0036f;
constexpr float FpuUtilityBlendPow = 0.84f;
constexpr float RootFpuReductionMax = 0.07f;
constexpr float RootFpuLossProp = 0.003f;
constexpr float FpuUtilityBlendPow = 0.75f;

constexpr uint32_t MinTranspositionSkipVisits = 11;

constexpr bool UseLCBForBestmoveSelection = true;
constexpr float LCBStdevs = 6.28f;
constexpr float LCBMinVisitProp = 0.1f;

constexpr float PolicyTemperature = 0.91f;
constexpr float PolicyTemperature = 0.90f;
constexpr float RootPolicyTemperature = 1.05f;

} // namespace Search::MCTS

0 comments on commit 61290ab

Please sign in to comment.