Change final output map to display total error
This commit is contained in:
parent
390c880291
commit
fc5827e711
@ -53,10 +53,7 @@
|
|||||||
;; Success on training cases is verified on testing cases
|
;; Success on training cases is verified on testing cases
|
||||||
(zero? (:total-error best-individual))
|
(zero? (:total-error best-individual))
|
||||||
(do (println {:success-generation generation})
|
(do (println {:success-generation generation})
|
||||||
;(print "Checking program on test cases... ")
|
(println {:total-test-error (:total-error (error-function argmap best-individual :test))})
|
||||||
(if (zero? (:total-error (error-function argmap best-individual :test)))
|
|
||||||
(println {:test-cases-pass-fail 1})
|
|
||||||
(println {:test-cases-pass-fail 0}))
|
|
||||||
(#?(:clj shutdown-agents))
|
(#?(:clj shutdown-agents))
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user