TODOs and delete an unused variable

This commit is contained in:
Connor Olding 2018-06-16 00:38:09 +02:00
parent 155f868f56
commit b0058db80e
3 changed files with 3 additions and 3 deletions

View File

@ -16,6 +16,7 @@ TODOs: (that i can remember right now)
- compute how many input neurons the network needs instead of hardcoding
- add some detection for enemies later in the game
- fix cfg.enable_overlay (smb.lua doesn't see it being changed)
- maybe log the average distance from init?
naive:
- learn any combination of buttons, starting from title screen

View File

@ -112,8 +112,8 @@ local log_map = {
delta_mean = 4,
delta_std = 5,
step_std = 6,
weight_mean = 7,
weight_std = 8,
weight_mean = 7, -- TODO: rename to param_mean.
weight_std = 8, -- TODO: rename to param_std.
test_trial = 9,
decisions = 10,
}

View File

@ -146,7 +146,6 @@ function Snes:ask_mix(start_anew)
local marked = {}
for p=1, min(#self.old_asked, self.popsize) do
local a = self.old_asked[p]
local n = self.old_noise[p]
-- TODO: cache probs?
local prob_new = 0