1
0
forked from s425077/PotatoPlan
This commit is contained in:
BOTLester 2020-05-24 13:25:46 +02:00
parent 848cd6598a
commit ec0819a337
3 changed files with 3 additions and 2 deletions

BIN
Game1/Content/Clouds.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -49,7 +49,7 @@ namespace Game1.Sources.ML_Joel
{ {
MaximumBinCountPerFeature = 40, MaximumBinCountPerFeature = 40,
LearningRate = 0.00020, LearningRate = 0.00020,
NumberOfIterations = 50000, NumberOfIterations = 20000,
NumberOfLeaves = 55, NumberOfLeaves = 55,
LabelColumnName = "Production", LabelColumnName = "Production",
FeatureColumnName = "Features", FeatureColumnName = "Features",
@ -60,7 +60,7 @@ namespace Game1.Sources.ML_Joel
Booster = new DartBooster.Options() Booster = new DartBooster.Options()
{ {
MaximumTreeDepth = 20 MaximumTreeDepth = 10
} }
}; };

View File

@ -16,6 +16,7 @@ class SmartTractor
//What to do next //What to do next
public Path returnChoice() public Path returnChoice()
{ {
//System.Threading.St
ai.update(farm, Size, tractorPos / (tileSize + Spacing), housePos / (tileSize + Spacing), Target / (tileSize + Spacing), Rotation); ai.update(farm, Size, tractorPos / (tileSize + Spacing), housePos / (tileSize + Spacing), Target / (tileSize + Spacing), Rotation);
farm.UpdatePreferedCrops(Size); farm.UpdatePreferedCrops(Size);
farm = ai.changeCropStatus(); farm = ai.changeCropStatus();