get_regularization_params_ocr_class_mlpGetRegularizationParamsOcrClassMlpGetRegularizationParamsOcrClassMlpget_regularization_params_ocr_class_mlpT_get_regularization_params_ocr_class_mlp
Short description
get_regularization_params_ocr_class_mlpGetRegularizationParamsOcrClassMlpGetRegularizationParamsOcrClassMlpget_regularization_params_ocr_class_mlpT_get_regularization_params_ocr_class_mlp — Return the regularization parameters of an OCR classifier.
Signature
get_regularization_params_ocr_class_mlp( ocr_mlp OCRHandle, string GenParamName, out number GenParamValue )void GetRegularizationParamsOcrClassMlp( const HTuple& OCRHandle, const HTuple& GenParamName, HTuple* GenParamValue )static void HOperatorSet.GetRegularizationParamsOcrClassMlp( HTuple OCRHandle, HTuple genParamName, out HTuple genParamValue )def get_regularization_params_ocr_class_mlp( ocrhandle: HHandle, gen_param_name: str ) -> Sequence[Union[float, int]]
def get_regularization_params_ocr_class_mlp_s( ocrhandle: HHandle, gen_param_name: str ) -> Union[float, int]Herror T_get_regularization_params_ocr_class_mlp( const Htuple OCRHandle, const Htuple GenParamName, Htuple* GenParamValue )
HTuple HOCRMlp::GetRegularizationParamsOcrClassMlp( const HString& GenParamName ) const
HTuple HOCRMlp::GetRegularizationParamsOcrClassMlp( const char* GenParamName ) const
HTuple HOCRMlp::GetRegularizationParamsOcrClassMlp( const wchar_t* GenParamName ) const (Windows only)
HTuple HOCRMlp.GetRegularizationParamsOcrClassMlp( string genParamName )
Description
get_regularization_params_ocr_class_mlpGetRegularizationParamsOcrClassMlp returns the
regularization parameters of an OCR classifier that were specified
with set_regularization_params_ocr_class_mlpSetRegularizationParamsOcrClassMlp. Furthermore,
get_regularization_params_ocr_class_mlpGetRegularizationParamsOcrClassMlp returns the
parameters that were determined by an automatic determination of the
regularization parameters. For a description of the parameters, see
set_regularization_params_ocr_class_mlpSetRegularizationParamsOcrClassMlp.
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters
OCRHandleOCRHandleocrhandle (input_control) ocr_mlp → (handle)HTuple (HHandle)HOCRMlp, HTuple (IntPtr)HHandleHtuple (handle)
Handle of the OCR classifier.
GenParamNamegenParamNamegen_param_name (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)
Name of the regularization parameter to return.
Default: 'weight_prior'"weight_prior"
List of values: 'fraction_well_determined_params', 'num_inner_iterations', 'num_outer_iterations', 'num_well_determined_params', 'weight_prior'"fraction_well_determined_params", "num_inner_iterations", "num_outer_iterations", "num_well_determined_params", "weight_prior"
GenParamValuegenParamValuegen_param_value (output_control) number(-array) → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
Value of the regularization parameter.
Result
If the parameters are valid, the operator
get_regularization_params_ocr_class_mlpGetRegularizationParamsOcrClassMlp returns the value
2 (H_MSG_TRUE). If necessary, an exception is raised.
Combinations with other operators
Combinations
Possible predecessors
set_regularization_params_ocr_class_mlpSetRegularizationParamsOcrClassMlp, read_ocr_class_mlpReadOcrClassMlp
Possible successors
trainf_ocr_class_mlpTrainfOcrClassMlp
Module
OCR/OCV