add test-argmap
This commit is contained in:
parent
758f2eb740
commit
83cc26593a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user