From 70e2260e4056938a697f3c3f87d480c055b43387 Mon Sep 17 00:00:00 2001 From: wassname Date: Mon, 26 Nov 2018 06:42:30 +0800 Subject: [PATCH] reward scaling --- js/agent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/agent.js b/js/agent.js index 74e67c2..18d2f45 100644 --- a/js/agent.js +++ b/js/agent.js @@ -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