Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: testing of evaluation function

Author: Robert Hyatt

Date: 18:58:47 04/17/03

Go up one level in this thread


On April 17, 2003 at 11:28:44, Steven Chu wrote:

>I have an evaluation function in my chess program and need to be able to test
>it.  I have been told to get some things to test it with and note down the
>desired output and the actual output.  The thing is that I don't know how to go
>about testing the evaluation function.  What sort of things do I use to test it
>and how do I do it?
>If anyone can help I will be very grateful
>
>Steven


This is not "easy" but I have a piece of code that will suck in a FEN position
and call Evaluate() and print the score.  I put a bunch of positions in a file,
and run the "evtest" command.  I then look at the positions, one by one, noting
Crafty's static evaluation.  If I disagree, I flag it to look at.  If not, I
keep going.

It is good to catch oddball cases that trigger unexpectedly large scores for
the wrong reasons.




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.