Skip to content

Commit 4b43a99

Browse files
authored
SPSA tune (#144)
1 parent b3e8fb6 commit 4b43a99

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

src/main/java/com/kelseyde/calvin/engine/EngineConfig.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,30 +25,30 @@ public EngineConfig() {
2525
public boolean pondering = false;
2626
public boolean searchCancelled = false;
2727

28-
public final Tunable aspMargin = new Tunable("AspMargin", 25, 0, 250, 25);
29-
public final Tunable aspFailMargin = new Tunable("AspFailMargin", 150, 0, 300, 25);
30-
public final Tunable aspMaxReduction = new Tunable("AspMaxReduction", 3, 0, 5, 1);
31-
public final Tunable nmpDepth = new Tunable("NmpDepth", 0, 0, 6, 1);
32-
public final Tunable nmpMargin = new Tunable("NmpMargin", 70, 0, 250, 10);
28+
public final Tunable aspMargin = new Tunable("AspMargin", 6, 0, 250, 25);
29+
public final Tunable aspFailMargin = new Tunable("AspFailMargin", 99, 0, 300, 25);
30+
public final Tunable aspMaxReduction = new Tunable("AspMaxReduction", 1, 0, 5, 1);
31+
public final Tunable nmpDepth = new Tunable("NmpDepth", 1, 0, 6, 1);
32+
public final Tunable nmpMargin = new Tunable("NmpMargin", 62, 0, 250, 10);
3333
public final Tunable fpDepth = new Tunable("FpDepth", 6, 0, 8, 1);
34-
public final Tunable fpMargin = new Tunable("FpMargin", 275, 0, 500, 10);
34+
public final Tunable fpMargin = new Tunable("FpMargin", 264, 0, 500, 10);
3535
public final Tunable fpScale = new Tunable("FpScale", 65, 0, 100, 5);
36-
public final Tunable qsFpMargin = new Tunable("QsFpMargin", 100, 0, 250, 10);
37-
public final Tunable rfpDepth = new Tunable("RfpDepth", 5, 0, 8, 1);
38-
public final Tunable rfpMargin = new Tunable("RfpMargin", 75, 0, 250, 10);
39-
public final Tunable rfpImpMargin = new Tunable("RfpImpMargin", 40, 0, 250, 10);
36+
public final Tunable qsFpMargin = new Tunable("QsFpMargin", 82, 0, 250, 10);
37+
public final Tunable rfpDepth = new Tunable("RfpDepth", 6, 0, 8, 1);
38+
public final Tunable rfpMargin = new Tunable("RfpMargin", 72, 0, 250, 10);
39+
public final Tunable rfpImpMargin = new Tunable("RfpImpMargin", 58, 0, 250, 10);
4040
public final Tunable lmrDepth = new Tunable("LmrDepth", 2, 0, 8, 1);
4141
public final Tunable lmrBase = new Tunable("LmrBase", 85, 50, 100, 5);
4242
public final Tunable lmrDivisor = new Tunable("LmrDivisor", 310, 200, 400, 10);
43-
public final Tunable lmrMinMoves = new Tunable("LmrMinSearchedMoves", 3, 2, 5, 1);
44-
public final Tunable lmpDepth = new Tunable("LmpDepth", 2, 0, 8, 1);
43+
public final Tunable lmrMinMoves = new Tunable("LmrMinSearchedMoves", 4, 2, 5, 1);
44+
public final Tunable lmpDepth = new Tunable("LmpDepth", 3, 0, 8, 1);
4545
public final Tunable lmpMultiplier = new Tunable("LmpMultiplier", 10, 1, 20, 1);
4646
public final Tunable iirDepth = new Tunable("IirDepth", 4, 0, 8, 1);
47-
public final Tunable dpMargin = new Tunable("DpMargin", 140, 0, 250, 10);
48-
public final Tunable razorDepth = new Tunable("RazorDepth", 4, 0, 8, 1);
49-
public final Tunable razorMargin = new Tunable("RazorMargin", 450, 0, 600, 10);
47+
public final Tunable dpMargin = new Tunable("DpMargin", 117, 0, 250, 10);
48+
public final Tunable razorDepth = new Tunable("RazorDepth", 5, 0, 8, 1);
49+
public final Tunable razorMargin = new Tunable("RazorMargin", 493, 0, 600, 10);
5050
public final Tunable hpMaxDepth = new Tunable("HpMaxDepth", 5, 0, 10, 1);
51-
public final Tunable hpMargin = new Tunable("HpMargin", -2250, -4000, -100, 50);
51+
public final Tunable hpMargin = new Tunable("HpMargin", -2208, -4000, -100, 50);
5252
public final Tunable hpOffset = new Tunable("HpOffset", -1050, -3000, 0, 50);
5353
public final Tunable nodeTmMinDepth = new Tunable("NodeTmMinDepth", 5, 0, 10, 1);
5454
public final Tunable nodeTmBase = new Tunable("NodeTmBase", 150, 100, 200, 10);

0 commit comments

Comments
 (0)