Skip to content

Commit

Permalink
added test harness for single wain
Browse files Browse the repository at this point in the history
  • Loading branch information
mhwombat committed Aug 17, 2015
1 parent 1d1e9ef commit 53c427f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ALife/Creatur/Wain/Interaction/Experiment.hs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ randomImageWain wainName u classifierSize = do
let dr = buildPredictor fd predictorSize predictorThreshold cw rw
-- TODO: Allow a range of random weights
-- hw <- (makeWeights . take 3) <$> getRandomRs unitInterval
let hw = makeWeights [7, 3, 1]
let hw = makeWeights [0.7, 0.3, 0.1]
dOut <- getRandomR $ view U.uDefaultOutcomeRange u
dp <- getRandomR $ view U.uDepthRange u
let mr = makeMuser dOut dp
Expand Down

0 comments on commit 53c427f

Please sign in to comment.