Might this be an practical example?
I like to scale some eval terms to a final score - more or less depending on gamestate {early, late}X{opening, middlegame, endgame} and closeness of the pawn structure and number of pawn versus piece ratio. I can feed in total material, material-balance, pawn-piece ratio and some "heuristic" numbers, somehow representing a pawn-structure measure of the close-/openness (and/or ability to open) of the center and both wings (e.g. based on number of pawns, number of open and halfopen (per side) files, number of closed files with rams, and number of closed or halfopen files with levers and lever options, etc).
Code: Select all
input hidden output layer
side to move []\
white material sum []\\=X[~]\
black material sum []\\\X[~]\\
closeness-center []\\\X[~]\\\
... []>==X[~]-===>[] score
pawn/piece ratio []///X[~]///
eval-term 1 []///X[~]//
.... []//=X[~]/
eval-term N []/
Thanks for any help and advice!
Cheers,
Gerd