653 Commits

Author SHA1 Message Date
15b1071938 flake init 2025-02-25 04:01:11 -06:00
3c900613da mention flake in readme 2025-02-25 04:01:01 -06:00
Lee Spector
97a1d381fd
Update README.md
Fix path for regression problem
2024-06-26 16:30:36 -04:00
Lee Spector
847341e4d8 Add and reorganize regression problem files 2024-01-17 15:32:12 -05:00
Lee Spector
6812f5e28c Remove problem file with issues including incorrect constants and obsolete gp arguments 2024-01-16 19:14:33 -05:00
Lee Spector
971f10941e GIT MESSAGE CORRECTION: recently added argument is :closes, not :close 2024-01-12 17:11:03 -05:00
Lee Spector
e6361ec1c0 Allow empty argmap 2024-01-12 16:31:46 -05:00
Lee Spector
70e9f81f84 Implement :close options :specified (default until recently, and now again), :balanced (default just prior to this commit), :none (which also removes instructions that open multiple code blocks) 2024-01-12 16:25:59 -05:00
Lee Spector
ddb788ad84 Clean up movement of opens ; add :closes argument 2024-01-12 15:24:13 -05:00
Lee Spector
131be83328 Flush output stream after each generation report 2024-01-10 13:06:50 -05:00
Lee Spector
71d378f49f Break just before an instruction that opens code blocks or just after a close, unless can't 2024-01-09 16:40:40 -05:00
Lee Spector
b0aee912bf Update docs 2024-01-07 12:53:34 -05:00
Lee Spector
cd73c73aa0 Specify and comment on more (all?) options for gp argmap 2024-01-07 12:47:12 -05:00
Lee Spector
3ae7123cd8 Note that informed downsampling is now enabled by default; add comments to gp argument defaults 2024-01-07 12:11:08 -05:00
Lee Spector
81ef86d4ee Rework handling of defaults to top-level gp function 2024-01-07 11:49:35 -05:00
Lee Spector
f0424979b5 Always make probability of close equal to probability that instruction set adds an open 2024-01-06 16:39:11 -05:00
Lee Spector
126b358643
Update README.md 2024-01-05 17:16:46 -05:00
Lee Spector
163bd92b7a
Update README.md 2024-01-05 17:15:38 -05:00
Lee Spector
a467dcb3f4
Update README.md 2024-01-05 17:07:02 -05:00
Lee Spector
360b943ee6 Fix test 2023-12-31 21:43:38 -05:00
Lee Spector
a10addcc9e Move opens into instructions/parentheses; implement :auto-close to set probability of adding a close from opens produced by instructions 2023-12-31 21:38:49 -05:00
Lee Spector
5eb34a811a Pass argmap to random-instruction 2023-12-31 16:02:49 -05:00
Lee Spector
d8402962f1 Remove rather than filling empty genes. 2023-12-26 17:27:41 -05:00
Lee Spector
feb5a52d25 Explicitly require clojure.set 2023-12-26 15:40:25 -05:00
Lee Spector
77b160e454 Replace :bmx-gap-probability with :bmx-gene-length-limit 2023-12-26 15:32:06 -05:00
Lee Spector
c3a748e5cc Move more bmx utility functions to utils namespace 2023-12-26 14:33:12 -05:00
Lee Spector
1eafd17b5f Fill empty genes after :bmx and :bmx-umad 2023-12-24 15:34:28 -05:00
Lee Spector
d9e5523c99 Implement :bmx-same-gene-count to select only second parents with same number of genes as first 2023-12-21 19:08:11 -05:00
Lee Spector
1e29f88405 Add :ssx-not-bmx as a temporary way to experiment with sequential segment crossover 2023-12-14 19:18:43 -08:00
Lee Spector
d318d702ed Pass argmap to bmx 2023-12-14 19:11:26 -08:00
Lee Spector
b2bcab59de Add argument for :bmx-maximum-distance; don't merge adjacent gaps 2023-12-11 15:30:55 -05:00
Lee Spector
3ce672c022 Reimpose maximum difference for bmx exchange, hardcoded to 3 2023-12-11 00:49:01 -05:00
Lee Spector
0b2024ec6e Merge adjacent gaps 2023-12-10 23:11:08 -05:00
Lee Spector
435eb59371 Reformulate bmx distance and remove distance limit 2023-12-10 20:18:05 -05:00
Lee Spector
a706babff1 Only exchange in bmx with distance <= a limit, hardcoded to 4 for now 2023-12-10 14:37:45 -05:00
Lee Spector
49f6f6de72 Add multiset-distance and unigram-bigram-distance, and use the latter in bmx 2023-12-10 12:37:23 -05:00
Lee Spector
39edec3865 Fix formatting 2023-12-10 12:13:48 -05:00
Lee Spector
0a32938c2b Add and delete gaps in :bmx, not just :bmx-umad 2023-12-08 18:39:13 -05:00
Lee Spector
9fa35c4562 Rework bmx-umad gap addition and deletion 2023-12-07 18:32:11 -05:00
Lee Spector
82657abf32 Do not consider adding at a :gap 2023-12-07 16:47:50 -05:00
Lee Spector
f6a9426751 Clarify docstring 2023-12-07 16:45:03 -05:00
Lee Spector
648c7b866a Implement :gap mutation in :bmx-umad according to :bmx-gap-change-probability 2023-12-07 11:28:21 -05:00
Lee Spector
b40aff3d6d Don't allow uniform-deletion to delete :gap 2023-12-06 20:26:04 -05:00
Lee Spector
28ab925601 For bmx, add instances of :gap in initial plushy genomes according to :bmx-gap-probability 2023-12-06 17:35:00 -05:00
Lee Spector
27857faf85 Rely on :bmx? in argmap to know when using bmx 2023-12-06 15:01:59 -05:00
Lee Spector
85a59cdbe5 Eliminate :bmx-enrichment, and because of that, argmap preprocessing for gp 2023-12-06 14:56:02 -05:00
Lee Spector
2fa6eb5671 Rename :bmx-rate to :bmx-exchange-rate, which is more descriptive 2023-12-06 14:39:30 -05:00
Lee Spector
de5aeabd5e Add question mark, so complementary mate selection for bmx is invoked with :bmx-complementary? true 2023-12-06 14:32:40 -05:00
Lee Spector
2970632c26 Implement complementary mate selection for :bmx and :bmx-umad, activated via ':bmx-complementary true' 2023-12-02 23:11:54 -05:00
Lee Spector
a0bd993281 Rename :gene to :gap 2023-12-02 23:02:07 -05:00