From 83cc26593aa0ab7da2c50a6d8a2075655b9237f5 Mon Sep 17 00:00:00 2001 From: Rowan Torbitzky-Lane Date: Thu, 27 Feb 2025 02:51:46 -0600 Subject: [PATCH] add test-argmap --- src/propeller/session.cljc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/propeller/session.cljc b/src/propeller/session.cljc index 28ca1db..2149269 100755 --- a/src/propeller/session.cljc +++ b/src/propeller/session.cljc @@ -21,7 +21,23 @@ [propeller.downsample :as downsample] )) -(def test-argmap (gp/fill-defaults regression/integer-argmap)) +(def test-argmap-to-fill + {:instructions regression/instructions + :error-function regression/error-function + :training-data (:train regression/train-and-test-data) + :testing-data (:test regression/train-and-test-data) + :max-generations 300 + :population-size 1000 + :max-initial-plushy-size 5 + :step-limit 200 + :parent-selection :lexicase + :tournament-size 5 + :umad-rate 0.1 + :variation {:umad 1.0 :crossover 0.0} + :elitism false + :downsample-rate 0.5}) + +(def test-argmap (gp/fill-defaults test-argmap-to-fill)) ;; Interpreting a simple Push program: