diff --git a/README.txt b/README.txt index 2121395..a83d9b1 100644 --- a/README.txt +++ b/README.txt @@ -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 diff --git a/main.lua b/main.lua index c328804..1bcef18 100644 --- a/main.lua +++ b/main.lua @@ -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, } diff --git a/snes.lua b/snes.lua index 282264a..7110b62 100644 --- a/snes.lua +++ b/snes.lua @@ -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