Compare commits

...

2 Commits

Author SHA1 Message Date
Johannes Merl
ad4db1657f fix Iris 2024-05-09 10:54:08 +02:00
Johannes Merl
c9af0a4506 weights #3 2024-05-09 10:43:57 +02:00
3 changed files with 14 additions and 14 deletions

View File

@ -89,10 +89,10 @@ lE =
maxDepth = 5, maxDepth = 5,
weights = weights =
ExpressionWeights ExpressionWeights
{ lambdaSpucker = 1, { lambdaSpucker = 0,
lambdaSchlucker = 2, lambdaSchlucker = 10,
symbol = 30, symbol = 100,
variable = 10, variable = 5,
constant = 5 constant = 5
} }
} }

View File

@ -56,10 +56,10 @@ lE =
maxDepth = 5, maxDepth = 5,
weights = weights =
ExpressionWeights ExpressionWeights
{ lambdaSpucker = 1, { lambdaSpucker = 0,
lambdaSchlucker = 2, lambdaSchlucker = 10,
symbol = 30, symbol = 100,
variable = 10, variable = 5,
constant = 5 constant = 5
} }
} }
@ -68,7 +68,7 @@ lEE :: LamdaExecutionEnv
lEE = lEE =
LamdaExecutionEnv LamdaExecutionEnv
{ -- For now these need to define all available functions and types. Generic functions can be used. { -- For now these need to define all available functions and types. Generic functions can be used.
imports = ["LambdaDatasets.IrisDataset"], imports = ["LambdaDatasets.IrisDefinition"],
training = True, training = True,
trainingData = trainingData =
( map fst (takeFraktion 0.8 irisTrainingData), ( map fst (takeFraktion 0.8 irisTrainingData),
@ -89,7 +89,7 @@ shuffledLEE = do
itD <- smpl $ shuffle irisTrainingData itD <- smpl $ shuffle irisTrainingData
return LamdaExecutionEnv return LamdaExecutionEnv
{ -- For now these need to define all available functions and types. Generic functions can be used. { -- For now these need to define all available functions and types. Generic functions can be used.
imports = ["LambdaDatasets.IrisDataset"], imports = ["LambdaDatasets.IrisDefinition"],
training = True, training = True,
trainingData = trainingData =
( map fst (takeFraktion 0.8 itD), ( map fst (takeFraktion 0.8 itD),

View File

@ -77,10 +77,10 @@ lE =
maxDepth = 5, maxDepth = 5,
weights = weights =
ExpressionWeights ExpressionWeights
{ lambdaSpucker = 1, { lambdaSpucker = 0,
lambdaSchlucker = 2, lambdaSchlucker = 10,
symbol = 30, symbol = 100,
variable = 10, variable = 5,
constant = 5 constant = 5
} }
} }