예제 #1
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);
 }
예제 #2
0
 public static async Task TestModel <T>(ISmartBot <T> smartBot) where T : LabeledDataPoint
 {
     smartBot.Train(dataPath, true);
     await smartBot.Save(modelSavePath);
 }