diff --git a/Game1/Sources/ML_Joel/Model.cs b/Game1/Sources/ML_Joel/Model.cs index 9db3e24..a65c098 100644 --- a/Game1/Sources/ML_Joel/Model.cs +++ b/Game1/Sources/ML_Joel/Model.cs @@ -49,7 +49,7 @@ namespace Game1.Sources.ML_Joel { MaximumBinCountPerFeature = 40, LearningRate = 0.00020, - NumberOfIterations = 50000, + NumberOfIterations = 20000, NumberOfLeaves = 55, LabelColumnName = "Production", FeatureColumnName = "Features", @@ -60,7 +60,7 @@ namespace Game1.Sources.ML_Joel Booster = new DartBooster.Options() { - MaximumTreeDepth = 20 + MaximumTreeDepth = 10 } }; diff --git a/Game1/Sources/Smart/SmartTractor.cs b/Game1/Sources/Smart/SmartTractor.cs index 920691e..80ff965 100644 --- a/Game1/Sources/Smart/SmartTractor.cs +++ b/Game1/Sources/Smart/SmartTractor.cs @@ -16,6 +16,7 @@ class SmartTractor //What to do next public Path returnChoice() { + //System.Threading.St ai.update(farm, Size, tractorPos / (tileSize + Spacing), housePos / (tileSize + Spacing), Target / (tileSize + Spacing), Rotation); farm.UpdatePreferedCrops(Size); farm = ai.changeCropStatus();