예제 #1
0
        public void TrainingFile(string trainingFile)
        {
            string input = File.ReadAllText(trainingFile);

            if (input != null && input.Length > 0)
            {
                TrainingCase[] trainingData = JsonSerializer.Deserialize <TrainingCase[]>(input);
                Personalizer.Train(trainingData);
            }
        }