DataSharp/Data/Analysis/SupportVectorMachine.cs
/// <summary>
/// Returns a random index different from i.
/// </summary>
/// <param name="i">The index of some lagrange multiplier to optimize in an iteration.</param>
/// <returns>A random index different from i.</returns>
Returns a random index different from i.
Returns a random index different from i .
private int Select2ndMultiplierRandom(int i)
        {
            int j = i;
            while (j == i)
                j = StdRandom.Uniform(sampleCount);
            return j;
        }
private int Select2ndMultiplierRandom ( int i ) { int j = i ; while ( j == i ) j = StdRandom . Uniform ( sampleCount ) ; return j ; }
Returns a random index different from i.
Returns a random index different from i .
A random index different from i.
A random index different from i .
i
int
The index of some lagrange multiplier to optimize in an iteration.
The index of some lagrange multiplier to optimize in an iteration .