remove debugging/formatting
This commit is contained in:
parent
72c339e8b0
commit
2d7873d72c
@ -8,9 +8,9 @@ import HushGP.GP.Downsample
|
|||||||
import HushGP.GP.Individual
|
import HushGP.GP.Individual
|
||||||
import HushGP.GP.PushArgs
|
import HushGP.GP.PushArgs
|
||||||
import HushGP.GP.PushData
|
import HushGP.GP.PushData
|
||||||
import HushGP.GP.Variation
|
|
||||||
import HushGP.GP.Selection
|
import HushGP.GP.Selection
|
||||||
import HushGP.GP.Simplification
|
import HushGP.GP.Simplification
|
||||||
|
import HushGP.GP.Variation
|
||||||
import HushGP.Genome
|
import HushGP.Genome
|
||||||
import System.Random
|
import System.Random
|
||||||
import System.Random.Shuffle
|
import System.Random.Shuffle
|
||||||
|
@ -43,14 +43,6 @@ autoSimplifyPlushy' pushArgs@PushArgs{simplificationVerbose = simpVerbose, simpl
|
|||||||
newPlushy <- deleteRandomAmt randAmt plushy
|
newPlushy <- deleteRandomAmt randAmt plushy
|
||||||
let newPlushyErrors = eFunc pushArgs tData newPlushy
|
let newPlushyErrors = eFunc pushArgs tData newPlushy
|
||||||
let isBetter = newPlushyErrors <= initialErrors
|
let isBetter = newPlushyErrors <= initialErrors
|
||||||
print "-----------------------------------------"
|
|
||||||
print $ "k: " <> show randAmt
|
|
||||||
print $ "step: " <> show step
|
|
||||||
print $ "newPlushy: " <> show newPlushy
|
|
||||||
print $ "plushy: " <> show plushy
|
|
||||||
print $ "isBetter: " <> show isBetter
|
|
||||||
print $ "initialErrors: " <> show initialErrors
|
|
||||||
print $ "newErrors: " <> show newPlushyErrors
|
|
||||||
autoSimplifyPlushy' pushArgs initialErrors (succ step) (if isBetter then newPlushy else plushy)
|
autoSimplifyPlushy' pushArgs initialErrors (succ step) (if isBetter then newPlushy else plushy)
|
||||||
| otherwise = do
|
| otherwise = do
|
||||||
when simpVerbose (print ("simplification end plushy length: " <> show (length plushy)))
|
when simpVerbose (print ("simplification end plushy length: " <> show (length plushy)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user