Revert "autosimplification implementation complete"
This reverts commit af22f9793b70339b9c90cfa2b99c327426840471.
This commit is contained in:
parent
f1838b6b32
commit
be3402dae2
1
.gitignore
vendored
1
.gitignore
vendored
@ -33,4 +33,3 @@ node_modules/
|
|||||||
# https://github.com/thelmuth/program-synthesis-benchmark-datasets
|
# https://github.com/thelmuth/program-synthesis-benchmark-datasets
|
||||||
/data
|
/data
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
.shadow-cljs/classpath.edn
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
(ns propeller.problems.PSB2.fuel-cost
|
(ns propeller.problems.PSB2.fuel-cost
|
||||||
(:require [psb2.core :as psb2]
|
(:require [psb2.core :as psb2]
|
||||||
[propeller.genome :as genome]
|
[propeller.genome :as genome]
|
||||||
[propeller.simplification :as simplification]
|
|
||||||
[propeller.push.interpreter :as interpreter]
|
[propeller.push.interpreter :as interpreter]
|
||||||
[propeller.utils :as utils]
|
[propeller.utils :as utils]
|
||||||
[propeller.push.instructions :refer [get-stack-instructions]]
|
[propeller.push.instructions :refer [get-stack-instructions]]
|
||||||
@ -82,16 +81,3 @@
|
|||||||
:elitism false}
|
:elitism false}
|
||||||
(apply hash-map (map #(if (string? %) (read-string %) %) args))))
|
(apply hash-map (map #(if (string? %) (read-string %) %) args))))
|
||||||
(#?(:clj shutdown-agents)))
|
(#?(:clj shutdown-agents)))
|
||||||
|
|
||||||
|
|
||||||
(defn fuel-cost-autosimplify
|
|
||||||
[plushy]
|
|
||||||
(simplification/auto-simplify-plushy {:instructions instructions
|
|
||||||
:error-function error-function
|
|
||||||
:training-data (:train train-and-test-data)
|
|
||||||
:testing-data (:test train-and-test-data)
|
|
||||||
:max-generations 300
|
|
||||||
:population-size 1000
|
|
||||||
:max-initial-plushy-size 250
|
|
||||||
:step-limit 2000} plushy 5000 error-function (:train train-and-test-data) 5 true))
|
|
||||||
|
|
||||||
|
0
src/propeller/problems/simple_regression.cljc
Normal file → Executable file
0
src/propeller/problems/simple_regression.cljc
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user