TODOs and delete an unused variable
This commit is contained in:
parent
155f868f56
commit
b0058db80e
3 changed files with 3 additions and 3 deletions
|
@ -16,6 +16,7 @@ TODOs: (that i can remember right now)
|
||||||
- compute how many input neurons the network needs instead of hardcoding
|
- compute how many input neurons the network needs instead of hardcoding
|
||||||
- add some detection for enemies later in the game
|
- add some detection for enemies later in the game
|
||||||
- fix cfg.enable_overlay (smb.lua doesn't see it being changed)
|
- fix cfg.enable_overlay (smb.lua doesn't see it being changed)
|
||||||
|
- maybe log the average distance from init?
|
||||||
|
|
||||||
naive:
|
naive:
|
||||||
- learn any combination of buttons, starting from title screen
|
- learn any combination of buttons, starting from title screen
|
||||||
|
|
4
main.lua
4
main.lua
|
@ -112,8 +112,8 @@ local log_map = {
|
||||||
delta_mean = 4,
|
delta_mean = 4,
|
||||||
delta_std = 5,
|
delta_std = 5,
|
||||||
step_std = 6,
|
step_std = 6,
|
||||||
weight_mean = 7,
|
weight_mean = 7, -- TODO: rename to param_mean.
|
||||||
weight_std = 8,
|
weight_std = 8, -- TODO: rename to param_std.
|
||||||
test_trial = 9,
|
test_trial = 9,
|
||||||
decisions = 10,
|
decisions = 10,
|
||||||
}
|
}
|
||||||
|
|
1
snes.lua
1
snes.lua
|
@ -146,7 +146,6 @@ function Snes:ask_mix(start_anew)
|
||||||
local marked = {}
|
local marked = {}
|
||||||
for p=1, min(#self.old_asked, self.popsize) do
|
for p=1, min(#self.old_asked, self.popsize) do
|
||||||
local a = self.old_asked[p]
|
local a = self.old_asked[p]
|
||||||
local n = self.old_noise[p]
|
|
||||||
|
|
||||||
-- TODO: cache probs?
|
-- TODO: cache probs?
|
||||||
local prob_new = 0
|
local prob_new = 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue