ClassifierFactoryLearn Method

CVB.Net Documentation
Learn a new classifier from a SampleImageList using the currently set parameters.

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

public Classifier Learn(
	SampleImageList sampleImageList,
	out double learnResult
)

Parameters

sampleImageList
Type: Stemmer.Cvb.MantoSampleImageList
image list from which to learn the classifier
learnResult
Type: SystemDouble
the learn result; if learning was completed successfully this parameter will contain the learn result which is a measure for the amount of decision boundary_ violation that occurred during the learn process. This value can be interpreted as a measure for the separability of the image list from which the classifier was learned under the parameter conditions with which is was learned; it will not necessarily be a measure for the actual quality of the resulting classifier.

Return Value

Type: Classifier
A new Manto classifier generated based on the ClassifierFactory's settings and the training data provided in sampleImageList.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf the SampleImageList or the learner has been disposed
ArgumentNullExceptionwhen the sampleImageList parameter is null
ArgumentExceptionIf the currently set PreprocessingCode is not suitable for the feature window size of the sampleImageList
See Also

Reference