-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contrastive learning GP with cosine similarity
- Loading branch information
Showing
3 changed files
with
50 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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,9 @@ | ||
# Siamese network | ||
|
||
## Genetic Programming | ||
|
||
Run the following command to evaluate performance of Genetic Programming for contrastive learning. | ||
|
||
```bash | ||
python3 gp.py -nt 30 -g 200 -p 100 | ||
``` |
This file contains 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 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,12 +1,42 @@ | ||
INFO:__main__:gen nevals avg std min max | ||
0 100 1.8426e+18 1.81428e+19 1.18593 1.82351e+20 | ||
INFO:__main__:1 75 3.95869e+08 2.32875e+09 1.15322 1.83026e+10 | ||
INFO:__main__:gen nevals avg std min max | ||
0 100 0.536682 0.117834 0.371207 0.739102 | ||
INFO:__main__:1 83 0.437101 0.0844668 0.368868 0.7264 | ||
INFO:__main__: | ||
Generation 1: Best Fitness = 1.1532 | ||
Generation 1: Best Fitness = 0.3689 | ||
Balanced accuracy: Train: 0.5000 | ||
Validation: 0.5000 | ||
INFO:__main__:2 72 466143 4.54385e+06 1.02204 4.56715e+07 | ||
INFO:__main__:2 82 0.409887 0.0679905 0.353061 0.712627 | ||
INFO:__main__: | ||
Generation 2: Best Fitness = 1.0220 | ||
Balanced accuracy: Train: 0.5004 | ||
Generation 2: Best Fitness = 0.3531 | ||
Balanced accuracy: Train: 0.5000 | ||
Validation: 0.5000 | ||
INFO:__main__:3 77 0.401588 0.0607651 0.353061 0.718457 | ||
INFO:__main__: | ||
Generation 3: Best Fitness = 0.3531 | ||
Balanced accuracy: Train: 0.5000 | ||
Validation: 0.5000 | ||
INFO:__main__:4 78 0.376162 0.0374512 0.346475 0.596387 | ||
INFO:__main__: | ||
Generation 4: Best Fitness = 0.3465 | ||
Balanced accuracy: Train: 0.5000 | ||
Validation: 0.5000 | ||
INFO:__main__:5 76 0.3653 0.0428357 0.343384 0.634618 | ||
INFO:__main__: | ||
Generation 5: Best Fitness = 0.3434 | ||
Balanced accuracy: Train: 0.5000 | ||
Validation: 0.5000 | ||
INFO:__main__:6 77 0.366268 0.0686927 0.343384 0.738176 | ||
INFO:__main__: | ||
Generation 6: Best Fitness = 0.3434 | ||
Balanced accuracy: Train: 0.5000 | ||
Validation: 0.5000 | ||
INFO:__main__:7 82 0.366218 0.0583039 0.342481 0.706247 | ||
INFO:__main__: | ||
Generation 7: Best Fitness = 0.3425 | ||
Balanced accuracy: Train: 0.5000 | ||
Validation: 0.5000 | ||
INFO:__main__:8 79 0.360883 0.054227 0.340341 0.707478 | ||
INFO:__main__: | ||
Generation 8: Best Fitness = 0.3403 | ||
Balanced accuracy: Train: 0.5000 | ||
Validation: 0.5000 |