DataSharp/Data/Analysis/SupportVectorMachine.cs
/// <summary>
/// Returns a LinkedList&lt;T> that contains the indices whose correspond errors are non-zero.
/// </summary>
/// <returns>A LinkedList&lt;T> that contains the indices whose correspond errors are non-zero.</returns>
Returns a LinkedList that contains the indices whose correspond errors are non-zero.
Returns a LinkedList that contains the indices whose correspond errors are non - zero .
private LinkedList<int> GetNonZeroIndices()
        {
            LinkedList<int> nonZeroIndices = new LinkedList<int>();
            for (int i = 0; i < errorCache.GetLength(0); i++)
            {
                if (errorCache[i, 0] != 0)
                    nonZeroIndices.AddLast(i);
            }
            return nonZeroIndices;
        }
private LinkedList < int > GetNonZeroIndices ( ) { LinkedList < int > nonZeroIndices = new LinkedList < int > ( ) ; for ( int i = 0 ; i < errorCache . GetLength ( 0 ) ; i ++ ) { if ( errorCache [ i , 0 ] != 0 ) nonZeroIndices . AddLast ( i ) ; } return nonZeroIndices ; }
Returns a LinkedList<T> that contains the indices whose correspond errors are non-zero.
Returns a LinkedList<T > that contains the indices whose correspond errors are non - zero .
A LinkedList that contains the indices whose correspond errors are non-zero.
A LinkedList that contains the indices whose correspond errors are non - zero .