add test-argmap
Some checks failed
CI / test-clj (push) Has been cancelled
CI / test-cljs (push) Has been cancelled

This commit is contained in:
Rowan Torbitzky-Lane 2025-02-27 02:51:46 -06:00
parent 758f2eb740
commit 83cc26593a

View File

@ -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: