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
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: ClassifierA new Manto classifier generated based on the ClassifierFactory's settings and the training data provided in sampleImageList.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | If the SampleImageList or the learner has been disposed |
ArgumentNullException | when the sampleImageList parameter is null |
ArgumentException | If the currently set PreprocessingCode is not suitable for the feature window size of the sampleImageList |
See Also