Exemplo n.º 1
0
 private static async Task TrainAndTestGame <T>(ISmartBot <T> smartBot) where T : LabeledDataPoint
 {
     smartBot.Train(gameLogsPath);
     await PlayInBrowserExample(smartBot, smartBot, smartBot, smartBot);
 }
Exemplo n.º 2
0
 // Train, get metrics and save your Machine Learning Bot
 private static async Task TestModel <T>(ISmartBot <T> smartBot) where T : LabeledDataPoint
 {
     smartBot.Train(gameLogsPath, true);
     await SimulatGamesScore(smartBot);
 }
Exemplo n.º 3
0
 // Train, get metrics and save your Machine Learning Bot
 private static async Task TrainAndSave <T>(ISmartBot <T> smartBot) where T : LabeledDataPoint
 {
     smartBot.Train(gameLogsPath);
     await smartBot.Save(modelSavePath);
 }
Exemplo n.º 4
0
 public static async Task TestModel <T>(ISmartBot <T> smartBot) where T : LabeledDataPoint
 {
     smartBot.Train(dataPath, true);
     await smartBot.Save(modelSavePath);
 }