C# Class LibSvm.Solver

Afficher le fichier Open project: antlypls/LibSvmSharp Class Usage Examples

Protected Properties

Свойство Type Description
_activeSize int
_eps double
_g double[]
_length int
_q QMatrix
_qd double[]
_unshrink bool
_y sbyte[]

Méthodes publiques

Méthode Description
Solve ( int length, QMatrix Q, double p_, sbyte y_, double alpha_, double Cp, double Cn, double eps, LibSvm.SolutionInfo si, bool shrinking ) : void

Méthodes protégées

Méthode Description
CalculateRho ( ) : double
DoShrinking ( ) : void
IsFree ( int i ) : bool
IsLowerBound ( int i ) : bool
IsUpperBound ( int i ) : bool
ReconstructGradient ( ) : void
SelectWorkingSet ( int workingSet ) : int
SwapIndex ( int i, int j ) : void

Private Methods

Méthode Description
BeShrunk ( int i, double Gmax1, double Gmax2 ) : bool
GetC ( int i ) : double
UpdateAlphaStatus ( int i ) : void

Method Details

CalculateRho() protected méthode

protected CalculateRho ( ) : double
Résultat double

DoShrinking() protected méthode

protected DoShrinking ( ) : void
Résultat void

IsFree() protected méthode

protected IsFree ( int i ) : bool
i int
Résultat bool

IsLowerBound() protected méthode

protected IsLowerBound ( int i ) : bool
i int
Résultat bool

IsUpperBound() protected méthode

protected IsUpperBound ( int i ) : bool
i int
Résultat bool

ReconstructGradient() protected méthode

protected ReconstructGradient ( ) : void
Résultat void

SelectWorkingSet() protected méthode

protected SelectWorkingSet ( int workingSet ) : int
workingSet int
Résultat int

Solve() public méthode

public Solve ( int length, QMatrix Q, double p_, sbyte y_, double alpha_, double Cp, double Cn, double eps, LibSvm.SolutionInfo si, bool shrinking ) : void
length int
Q QMatrix
p_ double
y_ sbyte
alpha_ double
Cp double
Cn double
eps double
si LibSvm.SolutionInfo
shrinking bool
Résultat void

SwapIndex() protected méthode

protected SwapIndex ( int i, int j ) : void
i int
j int
Résultat void

Property Details

_activeSize protected_oe property

protected int _activeSize
Résultat int

_eps protected_oe property

protected double _eps
Résultat double

_g protected_oe property

protected double[] _g
Résultat double[]

_length protected_oe property

protected int _length
Résultat int

_q protected_oe property

protected QMatrix,LibSvm _q
Résultat QMatrix

_qd protected_oe property

protected double[] _qd
Résultat double[]

_unshrink protected_oe property

protected bool _unshrink
Résultat bool

_y protected_oe property

protected sbyte[] _y
Résultat sbyte[]