Train Method of the ClassificationTrainer Object
This method trains the classifier on the pages of the batch that belong to the documents with the TrainingState property set to DTS_ForTraining. The result is then tested on the pages of the documents with this property set to DTS_ForTesting and compared with the testing run of the classifier currently in use. The complete testing statistics are returned via the TrainingResults object.
Syntax
Visual Basic .NET
Function Train() As TrainingResults
C++
HRESULT Train( ITrainingResults* Result );
Parameters
- Result
- [out, retval] A pointer to the ITrainingResults* variable that receives the interface pointer of the output TrainingResults object. The results of training include the testing statistics for the new classifier and the classifier currently used by the batch, together with the recommendation on whether the new classifier is better.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
See also
8/15/2023 1:19:30 PM