Click or drag to resize
Accord.NET (logo)

OneVsRestTModel, TInputGetClassifierForClass Method

Gets the binary classifier for particular class index.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public TModel GetClassifierForClass(
	int classIndex
)
Request Example View Source

Parameters

classIndex
Type: SystemInt32
Index of the class.

Return Value

Type: TModel
A IBinaryClassifierTInput that has been trained to distinguish between the chosen class and all other classes.
See Also