Change final output map to display total error

This commit is contained in:
klingliu 2021-06-29 16:52:17 -04:00
parent 390c880291
commit fc5827e711

View File

@ -53,10 +53,7 @@
;; Success on training cases is verified on testing cases
(zero? (:total-error best-individual))
(do (println {:success-generation generation})
;(print "Checking program on test cases... ")
(if (zero? (:total-error (error-function argmap best-individual :test)))
(println {:test-cases-pass-fail 1})
(println {:test-cases-pass-fail 0}))
(println {:total-test-error (:total-error (error-function argmap best-individual :test))})
(#?(:clj shutdown-agents))
)
;;