1
0
forked from s425077/PotatoPlan

Merge branch 'Joel-ML' of https://git.wmi.amu.edu.pl/s425077/PotatoPlan into Joel-ML

This commit is contained in:
Joel 2020-05-24 13:39:32 +02:00
commit 2e48e49239
2 changed files with 3 additions and 2 deletions

View File

@ -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
}
};

View File

@ -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();