Skip to content

Commit

Permalink
Tweak iterations for learning
Browse files Browse the repository at this point in the history
  • Loading branch information
joesweeney committed Apr 27, 2017
1 parent 8593fa6 commit a47377a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Learn.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public static void main(String[] args){
// for learning rate, first 30 with .1, next 30 with .05, then final 30 with .01 and see what happens

public static void learn(CheckersAI alpha, CheckersAI beta, LearningEvaluator le, BaseEvaluator be){
final int num_games = 30;
final int iterations = 3;
final int num_games = 10;
final int iterations = 10;

Random rand = new Random();
for(int j = 0; j < iterations; j++){
Expand Down

0 comments on commit a47377a

Please sign in to comment.