DataSharp/Data/Analysis/SupportVectorMachine.cs
/// <summary>
/// Updates the error of k-th sample.
/// </summary>
/// <param name="k"></param>
Updates the error of k-th sample.
Updates the error of k - th sample .
private void UpdateError(int k)
        {
            double error = CalculateError(k);
            errorCache[k, 0] = 1;
            errorCache[k, 1] = error;
        }
private void UpdateError ( int k ) { double error = CalculateError ( k ) ; errorCache [ k , 0 ] = 1 ; errorCache [ k , 1 ] = error ; }
Updates the error of k-th sample.
Updates the error of k - th sample .
k
int
None