Update gp.cljc
This commit is contained in:
parent
e9a2fe9a5b
commit
64e35d320c
@ -51,14 +51,13 @@
|
|||||||
(defn gp
|
(defn gp
|
||||||
"Main GP loop."
|
"Main GP loop."
|
||||||
[{:keys [population-size max-generations error-function instructions
|
[{:keys [population-size max-generations error-function instructions
|
||||||
max-initial-plushy-size solution-error-threshold ds-parent-rate ds-parent-gens dont-end ids-type downsample? hyperselection?]
|
max-initial-plushy-size solution-error-threshold ds-parent-rate ds-parent-gens dont-end ids-type downsample?]
|
||||||
:or {solution-error-threshold 0.0
|
:or {solution-error-threshold 0.0
|
||||||
dont-end false
|
dont-end false
|
||||||
ds-parent-rate 0
|
ds-parent-rate 0
|
||||||
ds-parent-gens 1
|
ds-parent-gens 1
|
||||||
ids-type :solved ; :solved or :elite or :soft
|
ids-type :solved ; :solved or :elite or :soft
|
||||||
downsample? false
|
downsample? false}
|
||||||
hyperselection? false}
|
|
||||||
:as argmap}]
|
:as argmap}]
|
||||||
;;
|
;;
|
||||||
(prn {:starting-args (update (update argmap :error-function str) :instructions str)})
|
(prn {:starting-args (update (update argmap :error-function str) :instructions str)})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user