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:
commit
2e48e49239
@ -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
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user