account for generation interval in eval counting
This commit is contained in:
parent
f6a412d605
commit
1cdf6f5640
@ -107,7 +107,7 @@
|
|||||||
;;
|
;;
|
||||||
:else (recur (inc generation)
|
:else (recur (inc generation)
|
||||||
(+ evaluations (* population-size (count training-data)) ;every member evaluated on the downsample
|
(+ evaluations (* population-size (count training-data)) ;every member evaluated on the downsample
|
||||||
(* (count parent-reps) (- (count indexed-training-data) (count training-data))) ; the parent-reps not evaluted already on down-sample
|
(if (zero? (mod generation ds-parent-gens)) (* (count parent-reps) (- (count indexed-training-data) (count training-data))) 0) ; the parent-reps not evaluted already on down-sample
|
||||||
(if best-individual-passes-ds (- (count indexed-training-data) (count training-data)) 0)) ; if we checked for generalization or not
|
(if best-individual-passes-ds (- (count indexed-training-data) (count training-data)) 0)) ; if we checked for generalization or not
|
||||||
(let [reindexed-pop (hyperselection/reindex-pop ds-evaluated-pop)]
|
(let [reindexed-pop (hyperselection/reindex-pop ds-evaluated-pop)]
|
||||||
(if (:elitism argmap)
|
(if (:elitism argmap)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user