From 690b4507b29d83c21fe0c6bbc14eeb4646bc93f3 Mon Sep 17 00:00:00 2001 From: Rowan Torbitzky-Lane Date: Sat, 1 Mar 2025 16:21:00 -0600 Subject: [PATCH] remove unneeded comments --- src/HushGP/GP/Downsample.hs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/HushGP/GP/Downsample.hs b/src/HushGP/GP/Downsample.hs index 97b902a..3844b16 100644 --- a/src/HushGP/GP/Downsample.hs +++ b/src/HushGP/GP/Downsample.hs @@ -151,10 +151,3 @@ updateCaseDistances evaledPop downsampleData trainData informedDownsamplingType "elite" -> convertToEliteError errors "soft" -> convertToSoftError solutionThreshold errors _ -> errors - - --- map (\other -> getDistanceBetweenCases [[0,0],[0,0]] 0 other) [0..(length [3,4] - 1)] --- tempData = intTrainData !! 0 --- dCase = tempData{_downsampleIndex = Just 3, _caseDistances = Just [2,2,2,2,2]} --- updateIn dCase (updateAtIndices [2,2,2,2,2] (map (\other -> getDistanceBetweenCases [[0,0],[0,0]] 0 0) [0..(length [3,4] - 1)]) [3,4]) --- Replacement for updateIn: dCase{_caseDistances = Just (updateAtIndices (extractDistance dCase) (map (\other -> getDistanceBetweenCases [[0,0],[0,0]] 0 0) [0..(length [3,4] - 1)]) [3,4])}