From 793ff2880d098b2ac5dd5e6d3a8f2cf260fda060 Mon Sep 17 00:00:00 2001 From: Ryan Boldi Date: Tue, 1 Mar 2022 17:14:40 -0500 Subject: [PATCH] fixed wrong number of args to simplification code --- src/propeller/gp.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propeller/gp.cljc b/src/propeller/gp.cljc index 7c87229..3c89f00 100644 --- a/src/propeller/gp.cljc +++ b/src/propeller/gp.cljc @@ -61,7 +61,7 @@ (prn {:total-test-error (:total-error (error-function argmap (:testing-data argmap) best-individual))}) (if (:simplification? argmap) - (let [simplified-plushy (simplification/auto-simplify-plushy argmap (:plushy best-individual) (:simplification-steps argmap) error-function (:training-data argmap) (:simplification-k argmap) (:simplification-k-prob argmap) (:simplification-verbose? argmap))] + (let [simplified-plushy (simplification/auto-simplify-plushy argmap (:plushy best-individual) (:simplification-steps argmap) error-function (:training-data argmap) (:simplification-k argmap) (:simplification-verbose? argmap))] (prn {:total-test-error-simplified (:total-error (error-function argmap (:testing-data argmap) (hash-map :plushy simplified-plushy)))})))) ;; (>= generation max-generations)