Пример #1
0
 /// <summary>
 /// Perform classification from loaded model and returns the infered class.
 /// </summary>
 /// <param name="vector">The input vector that should be list of double.</param>
 /// <returns>Resultant class as an integer</returns>
 public override int Classify(List <double> vector)
 {
     return(Model.ToMulticlass().Decide(vector.ToArray()));
 }