Ashley Bao
a00c35385f
updated docs
2023-01-17 20:47:53 -05:00
Ashley Bao
e7240e01d8
created deps.edn file
2023-01-16 12:29:00 -05:00
Ashley Bao
b6b7a5bf9b
added docstrings to problems
2023-01-13 17:39:28 -05:00
Ashley Bao
84f2e6a88d
added docstrings
...
more comments in genome, gp, selection, simplification, utils, variation
2023-01-11 21:37:37 -05:00
Ashley Bao
962dd5a55b
added explanation of session namespace
2023-01-09 16:42:28 -05:00
Lee Spector
f83ad0f8ef
Return 0.0 from mean of empty collection
2023-01-07 12:10:35 -05:00
Lee Spector
685bc86fc0
Fix formatting
2023-01-07 11:57:53 -05:00
Lee Spector
19d049500b
Fix formatting
2023-01-07 11:55:19 -05:00
dndang23
bff4da6975
Made organizational changes suggested by Ryan
2023-01-05 16:21:21 -08:00
dndang23
072b8af061
Added comments
2022-12-29 18:22:02 -05:00
dndang23
c5dd970149
Implemented epsilon-lexicase selection into propeller
2022-12-28 17:14:54 -05:00
Lee Spector
a1252c5c0a
Update session.cljc to specify training/testing data among other things
2022-03-28 12:29:04 -04:00
Lee Spector
0412f4015b
Merge pull request #46 from NicMcPhee/fix-from-string-instruction
...
Fix from string instruction and several PSB2 problems
2022-03-04 19:34:18 -05:00
Lee Spector
10f1b90ea0
Merge pull request #45 from ryanboldi/simplification
...
Simplification Update - Docs & more readable code
2022-03-04 19:32:14 -05:00
Ryan Boldi
a7b625d942
removed simplification complexity from gp.cljc and added it to simplification.cljc.
...
also updated tests to reflect this
2022-03-03 22:56:10 -05:00
RichardLussier
c6f08d4ca3
Fix other read-string uses in PSB2 problems
...
Since removing 'read-string' and 'str' from middle-character and twitter seemed to help diversify the outputs, we chose to replace all other occurrences of this pattern from the other PSB2 problems. Additionally, this conversion with 'read-string' and 'str' was completely unnecessary since the program was already taking from the top of the string stack.
2022-03-03 14:44:09 -06:00
Ryan Boldi
74d4f95b04
made all training data representations consistent with PSB2
2022-03-01 23:25:15 -05:00
Ryan Boldi
793ff2880d
fixed wrong number of args to simplification code
2022-03-01 17:14:40 -05:00
Ryan Boldi
be3402dae2
Revert "autosimplification implementation complete"
...
This reverts commit af22f9793b70339b9c90cfa2b99c327426840471.
2022-02-26 21:14:16 -05:00
Ryan Boldi
f1838b6b32
autosimplification implementation complete
2022-02-26 21:11:38 -05:00
Ryan Boldi
af22f9793b
autosimplification implementation complete
2022-02-26 21:08:04 -05:00
Ryan Boldi
f369d23ad5
simplified simplification.cljc
2022-02-26 21:07:33 -05:00
Ryan Boldi
e25dab4798
Implements auto-simplification using k-annealing & tests
...
Select k random elements in plushy. Delete these, and see if the plushy's behaviors are still identical. If they are, this is now the current plushy. If not, decrease k with a certain prob, and try again.
2022-02-26 21:07:32 -05:00
Nic McPhee
404e640cfb
Further improve Middle Character and Twitter
...
Upon further inspection, Richard and I realized that we didn't need to have `parsed-outputs` at all in problems that just return a string (take the top value from the `:string` stack).
So we removed all that from the Middle Character and Twitter problems, and removed the unnecessary calls to `str` in the `levenshtein-distance` calls.
Co-authored-by: RichardLussier <lussi036@morris.umn.edu>
2022-02-25 16:49:45 -06:00
Nic McPhee
cb33af755a
Remove unnecessary use of read-string
in Middle Character
...
For some reason `read-string` was being called to parse a string to a string in Middle Character, along with a totally unnecessary try/catch block.
This cleans that up.
It looks like most if not all of the PSB2 problems have this issue and we'll need to go through and update all of those to not use `read-string`.
2022-02-25 16:29:32 -06:00
Nic McPhee
6b454451d7
Fix the _from_string
instruction
...
This replaces the dangerous use of `read-string`with `parseInt` and `parseFloat`, and returns `ignore-instruction` if an exception is thrown when trying to do the parsing.
Hopefully this will fix the stack overflow problems with the PSB2 Middle Character and Twitter problems.
2022-02-11 17:27:33 -06:00
Julia Schor
b3e0cf7b22
numeric.spec mostly working
2022-01-26 11:19:18 -05:00
Tom Helmuth
c5b9aece9c
Fixed issue with translation that caused infinite loops if an explicit number of open parentheses is set to 0
2021-11-02 13:12:46 -04:00
Tom Helmuth
0d3b65734b
Updated Smallest and Number IO problems to use generations and population parameters same as Clojush
2021-11-02 13:12:12 -04:00
Tom Helmuth
45a61c86f7
Added parentheses requirements to 14 instructions that did not have them.
2021-11-02 12:53:39 -04:00
Tom Helmuth
d8c97e29e8
Moved macros and helpers to push/instructions.cljc
2021-11-02 12:37:06 -04:00
Tom Helmuth
0d58508bae
Moved push/utils/limits.cljc to push/limits.cljc
2021-11-02 11:23:21 -04:00
Tom Helmuth
39f0f4e30f
Merge branch 'fix/smallest-dont-parse-output' into fix/def-instruction-not-macro
2021-11-02 11:18:37 -04:00
Tom Helmuth
a42d23bf7a
Moved push/core.cljc to push/instructions.cljc
2021-11-02 11:18:29 -04:00
Tom Helmuth
6b39e078ee
Merge branch 'master' into fix/def-instruction-not-macro
2021-11-02 11:12:26 -04:00
Tom Helmuth
d6ed2456c7
Started changing away from macros in files.
2021-11-02 11:11:51 -04:00
Tom Helmuth
69a65229fe
Made Smallest problem not parse printed integer.
2021-11-02 10:37:49 -04:00
Tom Helmuth
9507eca041
Changed all macros to functions.
2021-11-02 10:35:34 -04:00
Lee Spector
462e70d843
Merge pull request #32 from erp12/new_args_and_parallelism
...
New parameters and performance improvements
2021-11-02 10:23:20 -04:00
Ryan Boldi
18baba1e80
removed maximum errors for solutions that output values from the PSB2 problems
2021-10-31 23:32:49 -04:00
erp12
a16bbeacb9
Adds shutdown-agents to problem files
2021-10-10 16:51:54 -04:00
erp12
3a0e9560c5
Redesigns limits
2021-10-10 16:51:54 -04:00
erp12
bdf278af8f
Parameterizes solution-error-threshold and mapper with defaults
2021-10-10 16:51:54 -04:00
Daniel Flores García
393f2368f2
Fix null-custom report bug when no custom-report is passed to gp
2021-08-02 10:58:23 -04:00
Daniel Flores García
f25cd75f2a
Add support for a custom-report function
2021-08-01 12:19:06 -04:00
Lee Spector
461da8c939
Don't pre-expand programs passed to interpreter
2021-07-26 15:40:33 -04:00
Lee Spector
2572c706a8
Name unused argument idiomatically
2021-07-22 16:14:24 -04:00
Lee Spector
d3589b9aee
Return history from interpret-program if start-state includes truthy value for :keep-history
2021-07-20 13:25:23 -04:00
Shuzo Katayama
8fae435046
Delete coin_sums.cljc
2021-07-19 16:36:31 -04:00
Shuzo Katayama
c9fe37e227
Merge branch 'lspector:master' into master
2021-07-19 16:31:10 -04:00