Change instructions output to string format for analysis scripts
This commit is contained in:
parent
d92507b062
commit
d47bfc4aaf
@ -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