You are here: Start » AVL.NET » AVS.SVM_Train Method

AVS.SVM_Train Method

Trains an SVM model.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SVM_Train
(
	AvlNet.SvmModel inSvmModel,
	IList<IList<float>> inVectorArray,
	IList<int> inAnswerArray,
	AvlNet.SvmModel outSvmModel,
	out float outTrainingAccuracy
)

Parameters

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

See also