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 | |
---|---|---|---|---|---|
inSvmModel | AvlNet.SvmModel | Initialized SVM model. | |||
inVectorArray | System.Collections.Generic.IList<System.Collections.Generic.IList<float>> | Training data vector array. | |||
inAnswerArray | System.Collections.Generic.IList<int> | Correct classes for data vectors. | |||
outSvmModel | AvlNet.SvmModel | Trained model. | |||
outTrainingAccuracy | float | Accuracy of prediction on training set. |