From 64e35d320c2d8075c40a3e37b6cceb94291c35d8 Mon Sep 17 00:00:00 2001 From: Ryan Boldi Date: Sun, 15 Oct 2023 23:17:33 -0400 Subject: [PATCH] Update gp.cljc --- src/propeller/gp.cljc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/propeller/gp.cljc b/src/propeller/gp.cljc index b3ed9db..fcb37ac 100644 --- a/src/propeller/gp.cljc +++ b/src/propeller/gp.cljc @@ -51,14 +51,13 @@ (defn gp "Main GP loop." [{: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 dont-end false ds-parent-rate 0 ds-parent-gens 1 ids-type :solved ; :solved or :elite or :soft - downsample? false - hyperselection? false} + downsample? false} :as argmap}] ;; (prn {:starting-args (update (update argmap :error-function str) :instructions str)}) @@ -148,4 +147,4 @@ (if (zero? (mod generation ds-parent-gens)) (downsample/update-case-distances rep-evaluated-pop indexed-training-data indexed-training-data ids-type (/ solution-error-threshold (count indexed-training-data))) ; update distances every ds-parent-gens generations indexed-training-data) - indexed-training-data)))))) + indexed-training-data)))))) \ No newline at end of file