projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1999-06-09 09:35:54 by simonpj]
[ghc-hetmet.git]
/
ghc
/
tests
/
programs
/
okeefe_neural
/
Main.hs
diff --git
a/ghc/tests/programs/okeefe_neural/Main.hs
b/ghc/tests/programs/okeefe_neural/Main.hs
index
5c6cffa
..
35c5c82
100644
(file)
--- a/
ghc/tests/programs/okeefe_neural/Main.hs
+++ b/
ghc/tests/programs/okeefe_neural/Main.hs
@@
-121,7
+121,7
@@
train pats i_h_wt i_h_ch h_o_wt h_o_ch epochs s =
out_err = vscale (vsub out_pat out_act) out_act
hid_err = vscale (vmmul out_err h_o_wt) hid_act
-main = ans
+main = putStrLn (show ans)
where (in1,out1) = head patterns
nin = length in1
nhid = nin