示例#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);
 }