From eb467a33b38eddb95ae04bf2d054d529c5350d3c Mon Sep 17 00:00:00 2001 From: Lee Spector Date: Sun, 15 Oct 2023 11:10:31 -0400 Subject: [PATCH] Remove mapper arg that is now handled in propeller.utils/pmapallv --- src/propeller/gp.cljc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/propeller/gp.cljc b/src/propeller/gp.cljc index 107a0ca..b25a468 100644 --- a/src/propeller/gp.cljc +++ b/src/propeller/gp.cljc @@ -51,16 +51,13 @@ (defn gp "Main GP loop." [{:keys [population-size max-generations error-function instructions - max-initial-plushy-size solution-error-threshold mapper ds-parent-rate ds-parent-gens dont-end ids-type downsample?] + 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 - ;; The `mapper` will perform a `map`-like operation to apply a function to every individual - ;; in the population. The default is `map` but other options include `mapv`, or `pmap`. - mapper #?(:clj pmap :cljs map)} + downsample? false} :as argmap}] ;; (prn {:starting-args (update (update argmap :error-function str) :instructions str)})