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} 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