You are here: Start » AVL.NET » Invoke.SVM_Train

Invoke.SVM_Train

Trains an SVM model.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void SVM_Train
(
	Avl.SvmModel inSvmModel,
	List<List<float>> inVectorArray,
	List<int> inAnswerArray,
	Avl.SvmModel outSvmModel,
	out float outTrainingAccuracy
)

Parameters

Name Type Range Default Description
inSvmModelAvl.SvmModelInitialized SVM model.
inVectorArraySystem.Collections.Generic.List<System.Collections.Generic.List<float>>Training data vector array.
inAnswerArraySystem.Collections.Generic.List<int>Correct classes for data vectors.
outSvmModelAvl.SvmModelTrained model.
outTrainingAccuracyfloatAccuracy of prediction on training set.

See also