Compare commits
	
		
			2 Commits
		
	
	
		
			4b0adea02f
			...
			515db2418b
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					515db2418b | ||
| 
						 | 
					4ac33b834f | 
@ -68,7 +68,7 @@ lEE :: LamdaExecutionEnv
 | 
			
		||||
lEE =
 | 
			
		||||
  LamdaExecutionEnv
 | 
			
		||||
    { -- For now these need to define all available functions and types. Generic functions can be used.
 | 
			
		||||
      imports = ["LambdaDatasets.IrisDataset"],
 | 
			
		||||
      imports = ["LambdaDatasets.IrisDefinition"],
 | 
			
		||||
      training = True,
 | 
			
		||||
      trainingData =
 | 
			
		||||
        ( map fst (takeFraktion 0.8 irisTrainingData),
 | 
			
		||||
@ -89,7 +89,7 @@ shuffledLEE = do
 | 
			
		||||
  itD <- smpl $ shuffle irisTrainingData
 | 
			
		||||
  return  LamdaExecutionEnv
 | 
			
		||||
    { -- For now these need to define all available functions and types. Generic functions can be used.
 | 
			
		||||
      imports = ["LambdaDatasets.IrisDataset"],
 | 
			
		||||
      imports = ["LambdaDatasets.IrisDefinition"],
 | 
			
		||||
      training = True,
 | 
			
		||||
      trainingData =
 | 
			
		||||
        ( map fst (takeFraktion 0.8 itD),
 | 
			
		||||
 | 
			
		||||
@ -35,7 +35,7 @@ options =
 | 
			
		||||
      ( long "population-size"
 | 
			
		||||
          <> short 'p'
 | 
			
		||||
          <> metavar "N"
 | 
			
		||||
          <> value 400
 | 
			
		||||
          <> value 100
 | 
			
		||||
          <> help "Population size"
 | 
			
		||||
      )
 | 
			
		||||
 | 
			
		||||
@ -59,7 +59,7 @@ main =
 | 
			
		||||
      selectionType = Tournament 3,
 | 
			
		||||
      termination = (steps (iterations opts)),
 | 
			
		||||
      poulationSize = (populationSize opts),
 | 
			
		||||
      stepSize = 120,
 | 
			
		||||
      stepSize = 90,
 | 
			
		||||
      elitismRatio = 5/100
 | 
			
		||||
    }
 | 
			
		||||
    pop' <- runEffect (for (run cfg) logCsv)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user