start of [individual]
This commit is contained in:
parent
164765aa23
commit
538178ccfa
@ -58,6 +58,7 @@ gpLoop' pushArgs generation evaluations population indexedTrainingData = do
|
|||||||
print "Incomplete Run, saving the best so far."
|
print "Incomplete Run, saving the best so far."
|
||||||
| otherwise = gpLoop' pushArgs (succ generation)
|
| otherwise = gpLoop' pushArgs (succ generation)
|
||||||
(evaluations + (populationSize pushArgs * length (fst $ trainingData pushArgs)) + (if generation `mod` downsampleParentsGens pushArgs == 0 then length parentReps * (length (fst indexedTrainingData) - length (fst $ trainingData pushArgs)) else 0) + (if bestIndPassesDownsample then length (fst indexedTrainingData) - length (fst $ trainingData pushArgs) else 0))
|
(evaluations + (populationSize pushArgs * length (fst $ trainingData pushArgs)) + (if generation `mod` downsampleParentsGens pushArgs == 0 then length parentReps * (length (fst indexedTrainingData) - length (fst $ trainingData pushArgs)) else 0) + (if bestIndPassesDownsample then length (fst indexedTrainingData) - length (fst $ trainingData pushArgs) else 0))
|
||||||
|
(if elitism then )
|
||||||
nextAction
|
nextAction
|
||||||
where
|
where
|
||||||
-- \| This will have downsampling added to it later.
|
-- \| This will have downsampling added to it later.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user