C# Class numl.Supervised.SVM.Selection.RandomSetSelection

Implements a Random Set Selection function which randomly selects new pairs.
Inheritance: ISelection
Datei anzeigen Open project: sethjuarez/numl

Public Methods

Method Description
GetWorkingSet ( int i, int j, Vector gradient, Vector alpha ) : int>.Tuple

Gets a new working set selection of i, j pair.

Initialize ( Vector alpha, Vector gradient ) : void

Initializes the selection function.

Method Details

GetWorkingSet() public method

Gets a new working set selection of i, j pair.
public GetWorkingSet ( int i, int j, Vector gradient, Vector alpha ) : int>.Tuple
i int Current working set pair i.
j int Current working set pair j.
gradient numl.Math.LinearAlgebra.Vector Current Gradient vector.
alpha numl.Math.LinearAlgebra.Vector Current alpha parameter vector.
return int>.Tuple

Initialize() public method

Initializes the selection function.
public Initialize ( Vector alpha, Vector gradient ) : void
alpha numl.Math.LinearAlgebra.Vector Alpha vector
gradient numl.Math.LinearAlgebra.Vector Gradient vector.
return void