Update float_regression.cljc
Use float constants, no exec or boolean instructions, and epsilon lexicase selection
This commit is contained in:
parent
340715c6e1
commit
4eb5e93112
@ -23,12 +23,8 @@
|
|||||||
:float_subtract
|
:float_subtract
|
||||||
:float_mult
|
:float_mult
|
||||||
:float_quot
|
:float_quot
|
||||||
:float_eq
|
0.0
|
||||||
:exec_dup
|
1.0))
|
||||||
:exec_if
|
|
||||||
'close
|
|
||||||
0
|
|
||||||
1))
|
|
||||||
|
|
||||||
(defn error-function
|
(defn error-function
|
||||||
"Finds the behaviors and errors of an individual. The error is the absolute
|
"Finds the behaviors and errors of an individual. The error is the absolute
|
||||||
@ -72,7 +68,7 @@
|
|||||||
:population-size 1000
|
:population-size 1000
|
||||||
:max-initial-plushy-size 100
|
:max-initial-plushy-size 100
|
||||||
:step-limit 200
|
:step-limit 200
|
||||||
:parent-selection :lexicase
|
:parent-selection :epsilon-lexicase
|
||||||
:tournament-size 5
|
:tournament-size 5
|
||||||
:umad-rate 0.1
|
:umad-rate 0.1
|
||||||
:solution-error-threshold 0.5
|
:solution-error-threshold 0.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user