Skip to content

Commit

Permalink
Cleaned up a little
Browse files Browse the repository at this point in the history
  • Loading branch information
tsoj committed Jul 22, 2021
1 parent 2ecba52 commit afda9d1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 15,915 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ nim c -d:danger -d:lto --passC:"-mbmi2 -mpopcnt" --passL:"-static" --cc:clang --
- mobility
- sliding pieces attacking area around king
- rook on open file
- both bishops
- knight attacking bishop, rook, or queen
- tapered parameters
- optimized using gradient descent
- search:
Expand All @@ -48,13 +50,14 @@ nim c -d:danger -d:lto --passC:"-mbmi2 -mpopcnt" --passL:"-static" --cc:clang --
- transposition table suggested best move
- static exchange evaluation
- killermoves
- history heuristic
- relative history heuristic
- nullmove reduction
- late move reductions
- check extensions
- delta pruning
- fail-high delta pruning
- futility reductions
- hash result futility pruning

#### License

Expand Down
1 change: 0 additions & 1 deletion parameterOptimization/optimization.nim
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ proc optimize(
gradient *= lr

let oldBestError = bestError
# TODO: clean all this up, thanks

eraseLine()
stdout.write("iteration: " & fmt"{j:>3}")
Expand Down
Loading

0 comments on commit afda9d1

Please sign in to comment.