mirror of
https://github.com/wassname/rl_2d_walker.js.git
synced 2026-09-12 12:50:17 +08:00
reward scaling
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ Agent.prototype.step = function () {
|
||||
if (this.timer % this.timerFrequency === 0) {
|
||||
|
||||
// reward from last step
|
||||
this.reward = this.walker.score * 1
|
||||
this.reward = this.walker.score * 10
|
||||
// console.log(this.reward)
|
||||
this.walker.score = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user