Original Post
Hi!
So, Ive decided to program a Othello game. I have a set of features (corners, edges, diagonals) and now I want to estimate their weights. Im trying to do this through linear regression. (I tried logistic regression too, but im experiencing the same issue).
Ive accumulated a DB of labeled othello positions and im using linear regression to minimize the error function (final disc diff in this case)
I have divided the training data based on number of empty squares on the board and i want to train weights for each stage of the game.
The problem Im having is that for example important features like corners and way underestimated in early stages and in the end stages the corners are way overestimated.
I guess this is because of how regression analysis work and since the corners are usually not occupied until the end of the game they are not represented as much in the early stages and are given too low weight.
I dont know how to counter for this but I guess I would have to somehow filter the training data to ensure feature variance or something...
The way it should be is that corners should be given highest values in eraly stage of the game and then eventually at the very end all features should pretty much converge to the same values...
Any thoughts on this, on how I can train the weights in a proper way and what the ideal training data should look like???
Thanks!
So, Ive decided to program a Othello game. I have a set of features (corners, edges, diagonals) and now I want to estimate their weights. Im trying to do this through linear regression. (I tried logistic regression too, but im experiencing the same issue).
Ive accumulated a DB of labeled othello positions and im using linear regression to minimize the error function (final disc diff in this case)
I have divided the training data based on number of empty squares on the board and i want to train weights for each stage of the game.
The problem Im having is that for example important features like corners and way underestimated in early stages and in the end stages the corners are way overestimated.
I guess this is because of how regression analysis work and since the corners are usually not occupied until the end of the game they are not represented as much in the early stages and are given too low weight.
I dont know how to counter for this but I guess I would have to somehow filter the training data to ensure feature variance or something...
The way it should be is that corners should be given highest values in eraly stage of the game and then eventually at the very end all features should pretty much converge to the same values...
Any thoughts on this, on how I can train the weights in a proper way and what the ideal training data should look like???
Thanks!