C# Class Encog.ML.SVM.SupportVectorMachine

Inheritance: Encog.ML.BasicML, IMLMethod, IMLRegression, IMLInputOutput, IMLInput, IMLOutput, IMLClassification, IMLError
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
CalculateError ( IMLDataSet data ) : double

Calculate the error for this SVM.

Classify ( IMLData input ) : int
Compute ( IMLData input ) : IMLData

Compute the output for the given input.

MakeSparse ( IMLData data ) : Encog.MathUtil.LIBSVM.svm_node[]

Convert regular Encog MLData into the "sparse" data needed by an SVM.

SupportVectorMachine ( ) : System

Construct the SVM.

SupportVectorMachine ( int theInputCount, SVMType svmType, KernelType kernelType ) : System

Construct a SVM network.

SupportVectorMachine ( int theInputCount, bool regression ) : System

Construct an SVM network. For regression it will use an epsilon support vector. Both types will use an RBF kernel.

SupportVectorMachine ( svm_model theModel ) : System

Construct a SVM from a model.

UpdateProperties ( ) : void

Not needed, no properties to update.

Method Details

CalculateError() public méthode

Calculate the error for this SVM.
public CalculateError ( IMLDataSet data ) : double
data IMLDataSet The training set.
Résultat double

Classify() public méthode

public Classify ( IMLData input ) : int
input IMLData
Résultat int

Compute() public méthode

Compute the output for the given input.
public Compute ( IMLData input ) : IMLData
input IMLData The input to the SVM.
Résultat IMLData

MakeSparse() public méthode

Convert regular Encog MLData into the "sparse" data needed by an SVM.
public MakeSparse ( IMLData data ) : Encog.MathUtil.LIBSVM.svm_node[]
data IMLData The data to convert.
Résultat Encog.MathUtil.LIBSVM.svm_node[]

SupportVectorMachine() public méthode

Construct the SVM.
public SupportVectorMachine ( ) : System
Résultat System

SupportVectorMachine() public méthode

Construct a SVM network.
public SupportVectorMachine ( int theInputCount, SVMType svmType, KernelType kernelType ) : System
theInputCount int The input count.
svmType SVMType The type of SVM.
kernelType KernelType The SVM kernal type.
Résultat System

SupportVectorMachine() public méthode

Construct an SVM network. For regression it will use an epsilon support vector. Both types will use an RBF kernel.
public SupportVectorMachine ( int theInputCount, bool regression ) : System
theInputCount int The input count.
regression bool True if this network is used for regression.
Résultat System

SupportVectorMachine() public méthode

Construct a SVM from a model.
public SupportVectorMachine ( svm_model theModel ) : System
theModel Encog.MathUtil.LIBSVM.svm_model The model.
Résultat System

UpdateProperties() public méthode

Not needed, no properties to update.
public UpdateProperties ( ) : void
Résultat void