Skip to content

Commit

Permalink
Call lexicase-report when using epsilon-lexicase selection; lein rele…
Browse files Browse the repository at this point in the history
…ase :minor
  • Loading branch information
lspector committed Nov 30, 2016
1 parent b48436e commit ba6f34b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gorilla-port

This file was deleted.

4 changes: 3 additions & 1 deletion src/clojush/pushgp/report.clj
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@

(when print-error-frequencies-by-case
(println "Error frequencies by case:" (doall (map frequencies (apply map vector (map :errors population))))))
(when (some #{parent-selection} #{:lexicase :elitegroup-lexicase :leaky-lexicase}) (lexicase-report population argmap))
(when (some #{parent-selection}
#{:lexicase :elitegroup-lexicase :leaky-lexicase :epsilon-lexicase})
(lexicase-report population argmap))
(when (= total-error-method :ifs) (implicit-fitness-sharing-report population argmap))
(println (format "--- Best Program (%s) Statistics ---" (str "based on " (name err-fn))))
(println "Best genome:" (print-genome best))
Expand Down

0 comments on commit ba6f34b

Please sign in to comment.