Пример #1
0
        /// <summary>
        /// Computes the result of the Support Vector Machine previously trained.
        /// </summary>
        /// <param name="input">The input of the SVM.</param>
        /// <returns>Returns the output of SVM.</returns>
        public double[] Compute(double[] input)
        {
            double[] result = new double[input.Length];
            _svm.Transform(input, result);

            return(result);
        }