Ryan Boldi
a315482302
implements multi collection pmapallv, and uses it in down-sampling and in hyperselection
2023-10-16 18:32:38 -04:00
Ryan Boldi
fbf77cdb90
Merge branch 'master'
2023-10-14 21:39:44 -04:00
Lee Spector
65af250d55
Comment out test until issue resolved
2023-03-26 21:34:00 -04:00
Ryan Boldi
a8e42475b5
Update selection_test.cljc
2023-01-10 10:57:20 +01:00
Ryan Boldi
d9e16aa028
implemented soft ids, where being a threshold away from solved still counts as being solved.
2023-01-08 14:26:36 +01:00
Ryan Boldi
43752ed6e0
Merge branch 'master'
2023-01-07 22:54:37 +01:00
dndang23
bff4da6975
Made organizational changes suggested by Ryan
2023-01-05 16:21:21 -08:00
Ryan Boldi
c40f1f70f4
added fitness proportionate selection + tests
2023-01-05 12:40:15 +01:00
Ryan Boldi
b4e4552acb
implemented elite/not elite vector tracking, moved tests
2022-11-17 20:23:46 -05:00
Ryan Boldi
e011fa7892
added armins function and tests
2022-11-17 20:22:51 -05:00
Ryan Boldi
fc738e2154
tested and fixed auto-ds size
2022-10-18 15:45:31 -04:00
Ryan Boldi
1cc584ca44
fixed erroneous test
2022-06-05 10:27:30 -04:00
Ryan Boldi
f39d5e76cd
logging indices now
2022-06-05 10:17:23 -04:00
Ryan Boldi
b591403fe8
hyperselection implementation and tests
...
really hacky implementation that only works with UMAD for now.
2022-06-05 10:09:05 -04:00
Ryan Boldi
816b443658
retested max-min, and added some new logging to judge case proportions
2022-04-13 22:54:33 -04:00
Ryan Boldi
217f195047
Implemented max-min, which takes the maximum minimum distance into account instead of average distances
2022-03-29 15:32:34 -04:00
Ryan Boldi
22b7067f10
add and test helper functions
2022-03-14 19:02:47 -04:00
Ryan Boldi
287799f194
implemented downsampling and distance measuring/updating
...
Features:
- Tests!
- maintain index of all training-cases
- update distance of training-cases after every evaluation (only update cases that are in the downsample)
- when an individual passes all of the DS cases, the population is re-evaluated on all training-cases to see if they pass all of them. If so, evolution is completed and training is complete. (they are then tested on held out test set and performance is reported)
2022-03-12 13:59:47 -05:00
Ryan Boldi
32f374635a
Update utils_test.cljc
2022-03-06 23:33:50 -05:00
Ryan Boldi
527f115168
downsample takes training-data as arg
2022-03-06 23:24:13 -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
Ryan Boldi
45b19fbd3e
implement assign-indices-to-data and select-downsample-random and tests
2022-03-03 21:43:44 -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
Ryan Boldi
a215c1c271
added more communicative autosimplification tests
2022-02-26 21:04:29 -05:00
Julia Schor
4a69b632b6
numeric.spec updates
2022-01-29 12:42:17 -05:00
Julia Schor
b3e0cf7b22
numeric.spec mostly working
2022-01-26 11:19:18 -05:00
Julia Schor
a8a2532b4b
Added more tests
2022-01-14 20:48:22 -05:00
Julia Schor
38aa695bad
added str and some boolean tests
2022-01-14 13:40:31 -05:00
Julia Schor
348a770a3d
propeller.tools.math tests are finished
2022-01-10 20:19:26 -05:00
Julia Schor
0428281cd8
Created more tests
2022-01-09 23:12:57 -05:00
Julia Schor
65aafdd66d
fixed deriv test
2022-01-08 20:22:06 -05:00
Julia Schor
020fb01bd5
added some tests
2022-01-08 19:39:22 -05:00
Tom Helmuth
56163f9a23
Got old tests to pass
2021-11-02 13:38:10 -04:00
erp12
3a0e9560c5
Redesigns limits
2021-10-10 16:51:54 -04:00
erp12
2bddc41587
Disables broken tests
2021-10-10 16:51:54 -04:00
Erik Rauer
24630072ed
Add tests for string/iterate
...
This adds a test for the `string/iterate` instruction
2021-04-15 16:24:06 -05:00
Erik Rauer
07ef1d3f90
Add tests for string/substr
and str/take
...
This adds tests for the `string/substr` and `str/take` instructions.
2021-04-15 16:03:57 -05:00
Erik Rauer
1628e669b6
Add a test for string/split
...
This adds a test for the `string/split` instruction
2021-04-15 15:12:42 -05:00
Erik Rauer
27bd7b6eb6
Add a test for string/set-char
...
This adds a test for the `string/set-char` instruction
2021-04-01 12:03:34 -05:00
Erik Rauer
711fc20f01
Add a test for string/reverse
...
This adds a test for the `string/reverse` instruction
2021-04-01 11:30:02 -05:00
Erik Rauer
7e780567ec
Add test for string/rest
...
This adds a test for the `string/rest` instruction
2021-04-01 11:26:55 -05:00
Erik Rauer
5cc3a02002
Fix replace-char-spec
to use the correct function
...
This changes `replace-char-spec` to actually use `check-replace-char` instead of `check-replace`
2021-04-01 11:20:40 -05:00
Erik Rauer
3cdc2f7fe5
Add a test for string/replace-first-char
...
This adds a test for the `string/replace-first-char` instruction
2021-04-01 11:19:09 -05:00
Erik Rauer
110679d8f7
Add a test for string/replace-first
...
This adds a test for the `string/replace-first` instruction
2021-04-01 11:15:40 -05:00
Erik Rauer
3fb35d7d47
Add a test for string/replace-char
...
This adds a test for the `string/replace-char` instruction
2021-04-01 11:12:26 -05:00
Erik Rauer
95cad31e7b
Add a test for string/replace
...
This adds a test for the `string/replace` instruction
2021-04-01 11:07:01 -05:00
Erik Rauer
da22da5014
Add a test for string/remove-char
...
This adds a test for the `string/remove-char` instruction
2021-04-01 10:59:38 -05:00
Erik Rauer
95cab60576
Add a test for string/parse-to-chars
...
This adds a test for the `string/parse-to-chars` instruction.
2021-04-01 10:55:21 -05:00
Erik Rauer
0655a5748f
Add a test for string/occurencesof_char
...
This adds a test for the `string/occurencesof_char` instruction.
2021-04-01 10:49:57 -05:00
Erik Rauer
8e361225ae
Add test for string/nth
...
This adds a test for the `string/nth` instruction
2021-03-29 21:01:27 -05:00