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