Merge pull request #21 from klingliu/master
Changed starting-args output to print functions as strings
This commit is contained in:
commit
0c53436b94
@ -34,7 +34,7 @@
|
||||
max-initial-plushy-size]
|
||||
:as argmap}]
|
||||
;;
|
||||
(println {:starting-args argmap})
|
||||
(prn {:starting-args (update (update argmap :error-function str) :instructions str)})
|
||||
(println)
|
||||
;;
|
||||
(loop [generation 0
|
||||
@ -52,8 +52,8 @@
|
||||
(cond
|
||||
;; Success on training cases is verified on testing cases
|
||||
(zero? (:total-error best-individual))
|
||||
(do (println {:success-generation generation})
|
||||
(println {:total-test-error (:total-error (error-function argmap best-individual :test))})
|
||||
(do (prn {:success-generation generation})
|
||||
(prn {:total-test-error (:total-error (error-function argmap best-individual :test))})
|
||||
(#?(:clj shutdown-agents))
|
||||
)
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user