Skip to content

Commit

Permalink
correct unsuptrainer bug, data should point to local self.data.
Browse files Browse the repository at this point in the history
  • Loading branch information
koraykv committed Apr 13, 2013
1 parent df485e4 commit 352fe27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UnsupTrainer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ end

function UnsupTrainer:train(params)
-- essential stuff
local data = self.data
local eta = params.eta
local etadecay = params.etadecay or 0
local maxiter = params.maxiter
Expand Down

0 comments on commit 352fe27

Please sign in to comment.