From c303f14836a7d16c4da6d4062a246d59f50e8b5b Mon Sep 17 00:00:00 2001 From: Patric Feldmeier Date: Tue, 10 Oct 2023 08:42:38 +0200 Subject: [PATCH] Adjust configs --- config/Neuroevolution/neatest.json | 10 +++++----- config/Neuroevolution/neatestBackprop.json | 6 +++--- .../NetworkFitness/ReliableStatementFitness.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/Neuroevolution/neatest.json b/config/Neuroevolution/neatest.json index 6ce1781d..ad0f57e4 100644 --- a/config/Neuroevolution/neatest.json +++ b/config/Neuroevolution/neatest.json @@ -7,7 +7,7 @@ "parentsPerSpecies": 0.20, "penalizingAge": 15, "ageSignificance": 1.0, - "switchTargetCount": 15, + "switchTargetCount": 10, "extractor": "neuroevolution", "aTRepetitions": 0, "chromosome": { @@ -26,12 +26,12 @@ "mutationWithoutCrossover": 0.25, "mutationAddConnection": 0.05, "recurrentConnection": 0.1, - "addConnectionTries": 50, + "addConnectionTries": 10, "populationChampionNumberOffspring": 3, "populationChampionNumberClones": 1, "populationChampionConnectionMutation": 0.3, "mutationAddNode": 0.03, - "mutateWeights": 0.5, + "mutateWeights": 0.8, "perturbationPower": 1, "mutateToggleEnableConnection": 0.1, "toggleEnableConnectionTimes": 3, @@ -51,11 +51,11 @@ "type": "reliableStatement", "timeout": 10000, "stableCount": 10, - "earlyStop": true + "earlyStop": false }, "population": { "strategy": "global_solutions", - "randomFraction": 0.1 + "randomFraction": 0.3 }, "stoppingCondition": { "type": "combined", diff --git a/config/Neuroevolution/neatestBackprop.json b/config/Neuroevolution/neatestBackprop.json index 880c0be0..a007dcc1 100644 --- a/config/Neuroevolution/neatestBackprop.json +++ b/config/Neuroevolution/neatestBackprop.json @@ -2,7 +2,7 @@ "testGenerator": "neuroevolution", "algorithm": "neatest", "eventSelection": "activation", - "populationSize": 100, + "populationSize": 150, "numberOfSpecies": 5, "parentsPerSpecies": 0.20, "penalizingAge": 15, @@ -21,7 +21,7 @@ "epochs": 1000, "batchSize": 1, "labelSmoothing": 0, - "probability": 1, + "probability": 0.6, "peerToPeerSharing": false, "dataAugmentation": { @@ -42,7 +42,7 @@ "mutationWithoutCrossover": 0.25, "mutationAddConnection": 0.05, "recurrentConnection": 0.1, - "addConnectionTries": 50, + "addConnectionTries": 10, "populationChampionNumberOffspring": 3, "populationChampionNumberClones": 1, "populationChampionConnectionMutation": 0.3, diff --git a/whisker-main/src/whisker/whiskerNet/NetworkFitness/ReliableStatementFitness.ts b/whisker-main/src/whisker/whiskerNet/NetworkFitness/ReliableStatementFitness.ts index 4064464d..63e493a8 100644 --- a/whisker-main/src/whisker/whiskerNet/NetworkFitness/ReliableStatementFitness.ts +++ b/whisker-main/src/whisker/whiskerNet/NetworkFitness/ReliableStatementFitness.ts @@ -85,7 +85,7 @@ export class ReliableStatementFitness implements NetworkFitnessFunction