SampleListLabelToIndexTLabel Method

CVB.Net Documentation
Convert a class label to a class index.

Namespace:  Stemmer.Cvb.SampleDatabase
Assembly:  Stemmer.Cvb.SampleDatabase (in Stemmer.Cvb.SampleDatabase.dll) Version: 14.0.0.0
Syntax

protected abstract int LabelToIndex<TLabel>(
	TLabel label
)

Parameters

label
Type: TLabel
Label to be converted.

Type Parameters

TLabel
Label type.

Return Value

Type: Int32
Index of the label; -1 if the label is not found in the sample list.
See Also

Reference