Skip to content

Commit

Permalink
Adjust configs
Browse files Browse the repository at this point in the history
  • Loading branch information
FeldiPat committed Oct 10, 2023
1 parent 9b5890e commit c303f14
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions config/Neuroevolution/neatest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"parentsPerSpecies": 0.20,
"penalizingAge": 15,
"ageSignificance": 1.0,
"switchTargetCount": 15,
"switchTargetCount": 10,
"extractor": "neuroevolution",
"aTRepetitions": 0,
"chromosome": {
Expand All @@ -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,
Expand All @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions config/Neuroevolution/neatestBackprop.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"testGenerator": "neuroevolution",
"algorithm": "neatest",
"eventSelection": "activation",
"populationSize": 100,
"populationSize": 150,
"numberOfSpecies": 5,
"parentsPerSpecies": 0.20,
"penalizingAge": 15,
Expand All @@ -21,7 +21,7 @@
"epochs": 1000,
"batchSize": 1,
"labelSmoothing": 0,
"probability": 1,
"probability": 0.6,
"peerToPeerSharing": false,

"dataAugmentation": {
Expand All @@ -42,7 +42,7 @@
"mutationWithoutCrossover": 0.25,
"mutationAddConnection": 0.05,
"recurrentConnection": 0.1,
"addConnectionTries": 50,
"addConnectionTries": 10,
"populationChampionNumberOffspring": 3,
"populationChampionNumberClones": 1,
"populationChampionConnectionMutation": 0.3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class ReliableStatementFitness implements NetworkFitnessFunction<NetworkC
// target statement to the fitness function.
if(!await network.targetFitness.isCovered(network)){
network.fitness += (1 / await network.targetFitness.getFitness(network));
break;
continue;
}

// At this point, we know that we have covered the statement again.
Expand Down

0 comments on commit c303f14

Please sign in to comment.