You are here: Start » AVL.NET » AVL.InitOcr_SVM_Deprecated(float?, float?, float, float, bool, AvlNet.Size, int?, AvlNet.CharacterFeatures, AvlNet.OcrSvmModel)
AVL.InitOcr_SVM_Deprecated(float?, float?, float, float, bool, AvlNet.Size, int?, AvlNet.CharacterFeatures, AvlNet.OcrSvmModel)
Creates an OCR model based on support vector machines classifier.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void InitOcr_SVM_Deprecated( float? inNu, float? inKernelGamma, float inRegularizationConstant, float inStopEpsilon, bool inUseShrinkingHeuristics, AvlNet.Size inNormalizationSize, int? inRandomSeed, AvlNet.CharacterFeatures inCharacterFeatures, out AvlNet.OcrSvmModel outOcrModel )
Parameters
- inNu
- Type: System.Nullable<System.Single>
Trade-off between training accuracy and number of supported vectors, or null. - inKernelGamma
- Type: System.Nullable<System.Single>
Gamma parameter for RBF kernel, or null. - inRegularizationConstant
- Type: System.Single
Preventing overfitting - inStopEpsilon
- Type: System.Single
Epsilon for stopping criterion - inUseShrinkingHeuristics
- Type: System.Boolean
Heuristics may speed up computations - inNormalizationSize
- Type: AvlNet.Size
The character size after normalization - inRandomSeed
- Type: System.Nullable<System.Int32>
Random seed used to train classifier, or null. - inCharacterFeatures
- Type: AvlNet.CharacterFeatures
Character features used to identify characters - outOcrModel
- Type: AvlNet.OcrSvmModel
Result OcrSvmModel used to recognize characters
Errors
| Error type | Description |
|---|---|
| DomainError | Invalid normalization size in InitOcr_SVM. |
