Skip to content

Commit

Permalink
Update seeds examples with new grammar style x[:, 3] not x[3]
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmcd committed Oct 28, 2021
1 parent 6e584be commit 749f064
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions seeds/example_pop/example_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Generation:
50

Phenotype:
np.tanh(np.sin(plog(np.sin(np.sin(np.sin(x[2]*np.tanh(plog(np.sin(np.tanh(psqrt(psqrt(x[2])))))))))+plog(plog(np.sin(plog(psqrt(x[3]))))))))
np.tanh(np.sin(plog(np.sin(np.sin(np.sin(x[2]*np.tanh(plog(np.sin(np.tanh(psqrt(psqrt(x[2])))))))))+plog(plog(np.sin(plog(psqrt(x[:, 3]))))))))

Genotype:
[13836, 62075, 23, 73785, 79625, 57320, 20, 47222, 8741, 79326, 23, 44930, 79326, 76084, 48214, 73706, 23, 23, 21605, 67643, 19, 39372, 81838, 23, 20, 19, 24]
Expand All @@ -12,4 +12,4 @@ None
Training fitness:
0.033550399872
Test fitness:
0.0304362796265
0.0304362796265
2 changes: 1 addition & 1 deletion seeds/example_pop/example_2.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Phenotype:
np.tanh(plog(np.sin(psqrt(x[3]))))
np.tanh(plog(np.sin(psqrt(x[:, 3]))))
2 changes: 1 addition & 1 deletion seeds/example_pop/example_4.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
np.tanh(np.sin(plog(np.sin(np.sin(np.sin(x[2]*np.tanh(plog(np.sin(np.tanh(psqrt(psqrt(x[2])))))))))+plog(plog(np.sin(plog(psqrt(x[3]))))))))
np.tanh(np.sin(plog(np.sin(np.sin(np.sin(x[:, 2]*np.tanh(plog(np.sin(np.tanh(psqrt(psqrt(x[:, 2])))))))))+plog(plog(np.sin(plog(psqrt(x[:, 3]))))))))

0 comments on commit 749f064

Please sign in to comment.