Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Log to file updated parameters

Double check everything works as expected: it is possible
during each game to look up the current parameters values
in CLOP gui and verify are the same written in samples.txt
  • Loading branch information...
commit a2976fd6110efc40507029a8b5c7b892a828b874 1 parent fbe1c48
@mcostalba authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/evaluate.cpp
View
4 src/evaluate.cpp
@@ -311,6 +311,10 @@ namespace Eval {
// Read values of parameters under tuning
RookOnPawnBonus = make_score(3, Options["p1"]);
QueenOnPawnBonus = make_score(1, Options["p2"]);
+
+ // Log to file and double check everything works
+ Log l("samples.txt");
+ l << Options["p1"] << ", " << Options["p2"] << std::endl;
}

7 comments on commit a2976fd

@jromang

Hello Marco,
It seems I didn't choose the min/max bounds wisely in the clop experiment : I now have much more promising results.
New bounds

@mcostalba
Owner
@mcostalba
Owner
@jromang
@mcostalba
Owner
@glinscott
@jromang
Please sign in to comment.
Something went wrong with that request. Please try again.