From 21fe582a54908a847841b5c7410bd919eca630c8 Mon Sep 17 00:00:00 2001 From: Ryan Boldi Date: Fri, 17 Feb 2023 12:46:13 -0500 Subject: [PATCH 1/2] Update simple_classification.cljc --- src/propeller/problems/simple_classification.cljc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/propeller/problems/simple_classification.cljc b/src/propeller/problems/simple_classification.cljc index 643591f..e8d6756 100644 --- a/src/propeller/problems/simple_classification.cljc +++ b/src/propeller/problems/simple_classification.cljc @@ -49,7 +49,7 @@ "Finds the behaviors and errors of an individual: Error is 0 if the value and the program's selected behavior match, or 1 if they differ, or 1000000 if no behavior is produced. The behavior is here defined as the final top item on - the INTEGER stack." + the BOOLEAN stack." [argmap data individual] (let [program (genome/plushy->push (:plushy individual) argmap) inputs (map (fn [x] (first (:input1 x))) data) @@ -85,7 +85,6 @@ :error-function error-function :training-data (:train train-and-test-data) :testing-data (:test train-and-test-data) - :case-t-size (count (:train train-and-test-data)) :max-generations 500 :population-size 500 :max-initial-plushy-size 100 From f143c108da51851523721cff0bdf0d56fc9d247d Mon Sep 17 00:00:00 2001 From: Ryan Boldi Date: Fri, 17 Feb 2023 12:49:42 -0500 Subject: [PATCH 2/2] bump to latest psb2 version --- project.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.clj b/project.clj index c0ec501..174c998 100644 --- a/project.clj +++ b/project.clj @@ -6,7 +6,7 @@ :dependencies [[org.clojure/clojure "1.10.0"] [org.clojure/clojurescript "1.9.946"] [org.clojure/test.check "1.1.0"] - [net.clojars.schneau/psb2 "1.1.0"]] + [net.clojars.schneau/psb2 "1.1.1"]] :profiles {:profiling {:dependencies [[com.clojure-goes-fast/clj-async-profiler "0.5.1"]]}} :main ^:skip-aot propeller.core :repl-options {:init-ns propeller.core}