2012/2/12 Øystein Schønning-Johansen <address@hidden>
For each postion I find if the best move with my evaluator, and find if my move is among the candidates in the list of moves. If it does not make the best move, I add the error to the total. If my evaluators move is not among the candidaes at all, I assign the same error as the worst move among the candidates.
If you evaluator makes a move that is not among the candidates, check that your move generator creates all legal move. I once found a terrible bug in my move generator in this way. I've trained the neural net for weeks, and found the move generator created some illegal moves in some positions.