-
Notifications
You must be signed in to change notification settings - Fork 2
Update 1.0.0 (massive rewrite) #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
134 commits
Select commit
Hold shift + click to select a range
273b9fa
rename CONTRIBUTING
HyperCodec 3f50d08
add flush_state to readme example
HyperCodec e6d1215
Merge pull request #47 from inflectrix/docfixes
HyperCodec a94198a
create basic log test
HyperCodec 339b90b
create plotters example
HyperCodec 5cddae7
small changes
HyperCodec 728cbde
more configuration
HyperCodec 91c3f9f
make plotting ng more generic
HyperCodec f6d0df0
fix test rayon feature
HyperCodec cc88ebf
cargo fmt
HyperCodec 66391cc
Merge pull request #49 from inflectrix/41-write-more-tests
HyperCodec b95084d
create custom activations example
HyperCodec 3586879
fix opposite high and low
HyperCodec 27e972a
Update Cargo.toml
HyperCodec 4b8cef0
use svgbackend (now it hangs for some reason)
HyperCodec 6a7090a
fix arc::into_inner failure
HyperCodec 945ea4a
fix data retrieval
HyperCodec 0717843
make compatible with other features
HyperCodec 6a98fb0
cargo fmt
HyperCodec ca58022
Merge pull request #50 from HyperCodec/plotters-example
HyperCodec d150af4
Merge pull request #55 from HyperCodec/HyperCodec-patch-1
HyperCodec 44b7fdb
create progress bar for plotting example
HyperCodec 6d17ec6
create progress bar for basic example
HyperCodec d3a9c40
cargo fmt
HyperCodec 9c4daf4
Merge pull request #57 from HyperCodec/examples-indicatif
HyperCodec e45908c
add logic to prevent duplicated input neurons
HyperCodec 1ca896b
Merge pull request #62 from HyperCodec/duped-inputs
HyperCodec 7c31f30
cargo fmt
HyperCodec 707c3e0
Merge pull request #54 from HyperCodec/activation-example
HyperCodec a32bfff
change activation function to one that doesn't return NaN
HyperCodec 53f21e9
Merge pull request #66 from HyperCodec/activation-fixes
HyperCodec 627830a
Update CONTRIBUTING.md
HyperCodec 1295d3d
Merge pull request #77 from HyperCodec/HyperCodec-patch-1
HyperCodec 1978058
Merge branch 'rewrite' into dev
HyperCodec 31b6e7d
delete topology and some examples
HyperCodec 0a958f9
solve clippy errors
HyperCodec 1a8896b
Merge pull request #84 from HyperCodec/rewrite-temp
HyperCodec 93481f2
clear mutation and tests code for new rewrite
HyperCodec 551843e
begin rewriting core mutation functions
HyperCodec 1458729
fix graph invariants check
HyperCodec bbb4a71
parallelize random testing
HyperCodec 301d927
implement add_connection
HyperCodec 8dbbfc0
cargo fmt
HyperCodec 68e7654
implement remove_connection
HyperCodec 7918a27
fix remove_connection, add bias mutation, and complete general mutati…
HyperCodec f5b4d5f
implement activation mutation
HyperCodec cd0f97e
use genetic-rs context api for mutation settings
HyperCodec 03eb490
add missing unstaged changes
HyperCodec 7659e64
implement basic crossover merge (unfinished)
HyperCodec a2efc87
finish crossover implementation (invariant fixing)
HyperCodec f68c6b7
remove accidentally committed temp file
HyperCodec c0560b0
update example todo messages
HyperCodec d8f8fe2
publicize activation fn name field
HyperCodec 01f804b
add methods to specify activation registry during mutation
HyperCodec d342218
refactor panicking get_neuron and get_neuron_mut to Index and IndexMu…
HyperCodec c3a6e25
fix serde feature
HyperCodec 041599b
make basic example
HyperCodec fb732a2
small changes to basic example
HyperCodec b442100
mitigate the fuckass bug on release optimizations
HyperCodec 71b6007
add error calculation to basic example
HyperCodec 3d5256b
fix fmt and clippy warnings
HyperCodec 9c41d2c
implement extra genes example (vibe code + cleanup for readability an…
HyperCodec 23a1196
add serde example
HyperCodec a467b3f
add some documentation to README
HyperCodec e4488e4
fix fmt and clippy warnings
HyperCodec 93fb1d1
ignore annoying doctest and make a shitty fitness function so the oth…
HyperCodec 998fa93
rework settings/context for qol and extra customizability
HyperCodec d933e5d
cargo fmt
HyperCodec 632bf9d
Merge pull request #104 from HyperCodec/rewrite2
HyperCodec 35301fe
bump neat version number for update
HyperCodec 85ea80d
prevent CI-CD from double checking
HyperCodec d353c94
bump genetic-rs version
HyperCodec 37fc20f
fix build error on examples
HyperCodec 501780c
cargo fmt
HyperCodec 0a5be7d
fix readme example
HyperCodec 04458af
invert cache is_ready logic
HyperCodec adc5272
small doc comment change
HyperCodec d711d6e
fix doc comment
HyperCodec 8d96e4e
small README update
HyperCodec 947fa47
Initial plan
Copilot f7fd673
Add tests for predict method (basic, consistency, parallel)
Copilot c9d13fc
small logic fix on is_ready (doesn't fix the major issue)
HyperCodec 6b8a1a4
Fix predict deadlock: check is_ready before claim in eval
Copilot 865d284
Document why claim is still necessary in eval (TOCTOU race)
Copilot a1f7934
Merge pull request #107 from HyperCodec/copilot/sub-pr-106
HyperCodec dc43f1f
remove potential panic in is_connection_safe logic
HyperCodec d7edb9d
Update CONTRIBUTING.md
HyperCodec 3970aba
Update CONTRIBUTING.md
HyperCodec 2799677
rename neuronlocation unwrap method
HyperCodec 2c31ebb
update doc comment on remove_neuron usage
HyperCodec db24c61
fix corner case in add_connection_unchecked (doesn't affect default b…
HyperCodec bb3e06b
Initial plan
Copilot d1a8f76
improve error message
HyperCodec 6ca8642
update add_neuron doc comment
HyperCodec 5eca2ae
update doc comment on split_connection
HyperCodec d9035ab
update predict doc comment
HyperCodec bf678c4
Fix dfs cycle detection to allow valid DAGs with converging paths
Copilot 7edcd45
make downshifting remove invalid outputs automatically
HyperCodec 805d075
pass the option to mutate_weight output instead of unwrapping
HyperCodec 818d603
cargo fmt
HyperCodec b0dc104
Fix test to demonstrate actual diamond-topology DFS bug
Copilot 225b11b
cargo fmt
HyperCodec a067e7f
Merge pull request #108 from HyperCodec/copilot/sub-pr-106
HyperCodec 555c61c
fix some old function signatures
HyperCodec d2658b7
add an additional error message for random_location_in_scope
HyperCodec dfc9ba8
Initial plan
Copilot bb02ba3
Simplify and fix random_activation_in_scope in ActivationRegistry
Copilot 39d363e
Merge pull request #109 from HyperCodec/copilot/sub-pr-106
HyperCodec b1eb147
fix add_neuron
HyperCodec 80e13c2
Initial plan
Copilot 3c5febc
Change get_random_connection receiver from &mut self to &self
Copilot 4777194
Fix activations_in_scope NONE handling and ActivationFn deserializati…
Copilot 34b289d
cargo fmt
HyperCodec 3d8f98a
remove redundant check
HyperCodec c5ea668
Merge pull request #110 from HyperCodec/copilot/sub-pr-106
HyperCodec eedb0cc
add explicit panic when input_count != 0 for remove_neuron
HyperCodec 1d49ca7
remove unnecessary call to .into
HyperCodec d8ad5ad
speed up tests
HyperCodec 4a62ad8
add back dependency that magically disappeared for some reason
HyperCodec 15e1922
add --no-capture to ci testing
HyperCodec f1acdec
Initial plan
Copilot 118e810
Add debug tests to investigate crossover cycle issue
Copilot bb20c75
Changes before error encountered
Copilot 75867b9
Fix cycle removal bug in remove_cycles_dfs by using explicit path stack
Copilot 1053996
cargo fmt
HyperCodec 054ab38
Merge pull request #111 from HyperCodec/copilot/sub-pr-106
HyperCodec 4ecb895
add little warnings to encourage release mode optimizations
HyperCodec 5f1496e
update README example for newer genetic-rs (TODO remove ignore whenev…
HyperCodec ca18aab
bump genetic-rs version
HyperCodec f0528d2
fix test warnings
HyperCodec fb32507
fix readme example
HyperCodec 38c1fb7
fix extra_genes example
HyperCodec 43f83b6
ignore debug tests
HyperCodec b1fcf5d
actually ignore debug tests this time (stupid web commit thing didn't…
HyperCodec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| /target/ | ||
| /.vscode/ | ||
| /.vscode/ | ||
| fitness-plot.svg | ||
| network.json |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| Thanks for contributing to this project. | ||
|
|
||
| To get started, check out the [issues page](https://github.com/hypercodec/neat/issues). You can either find a feature/fix from there or start a new issue, then begin implementing it in your own fork of this repo. | ||
|
|
||
| Once you are done making the changes you'd like to make, start a pull request to the [dev](https://github.com/hypercodec/neat/tree/dev) branch. State your changes and request a review. After all branch rules have been satisfied and the pull request has a valid reason, someone with management permissions on this repository will merge it. | ||
|
|
||
| You could also make a draft PR while implementing your features if you want feedback or discussion before finalizing your changes. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.