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

AVS.SVM_ClassifySingle Method

Classifies input features based on a trained model.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SVM_ClassifySingle
(
	AvlNet.SvmModel inSvmModel,
	IList<float> inVector,
	out int outPrediction,
	NullableRef<List<int>> outModelClasses,
	NullableRef<List<float>> outClassProbabilities
)

Parameters

Name Type Range Default Description
inSvmModelAvlNet.SvmModelInput trained model.
inVectorSystem.Collections.Generic.IList<float>Data vector of unknown class.
outPredictionintPredicted classes.
outModelClassesAvlNet.NullableRef<System.Collections.Generic.List<int>>All known model classes in order. Can be null to skip this parameter calculation.
outClassProbabilitiesAvlNet.NullableRef<System.Collections.Generic.List<float>>For each data vector the probability of belonging to each class. Can be null to skip this parameter calculation.

Function Overrides

See also