eqdisco.selection.epsilon_lexicase#
- eqdisco.selection.epsilon_lexicase(errors, n, rng, epsilon='mad')[source]#
ε-lexicase selection.
- Parameters:
- errors
arrayofshape(P,N) Absolute error of every individual on every training case.
- n
int Number of selections.
- epsilon“mad”,
floatorarrayofshape(N,) Threshold per case;
"mad"uses the median absolute deviation of the errors of the population on that case (semi-dynamic ε-lexicase).- Each selection shuffles the cases and keeps, case by case, the individuals
- whose error is within ε of the best remaining error.
- errors