get_regularization_params_ocr_class_mlpT_get_regularization_params_ocr_class_mlpGetRegularizationParamsOcrClassMlpGetRegularizationParamsOcrClassMlpget_regularization_params_ocr_class_mlp (Operator)

Name

get_regularization_params_ocr_class_mlpT_get_regularization_params_ocr_class_mlpGetRegularizationParamsOcrClassMlpGetRegularizationParamsOcrClassMlpget_regularization_params_ocr_class_mlp — Return the regularization parameters of an OCR classifier.

Signature

get_regularization_params_ocr_class_mlp( : : OCRHandle, GenParamName : GenParamValue)

Herror T_get_regularization_params_ocr_class_mlp(const Htuple OCRHandle, const Htuple GenParamName, Htuple* GenParamValue)

void GetRegularizationParamsOcrClassMlp(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)

static void HOperatorSet.GetRegularizationParamsOcrClassMlp(HTuple OCRHandle, HTuple genParamName, out HTuple genParamValue)

HTuple HOCRMlp.GetRegularizationParamsOcrClassMlp(string genParamName)

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]

Description

get_regularization_params_ocr_class_mlpget_regularization_params_ocr_class_mlpGetRegularizationParamsOcrClassMlpGetRegularizationParamsOcrClassMlpGetRegularizationParamsOcrClassMlpget_regularization_params_ocr_class_mlp returns the regularization parameters of an OCR classifier that were specified with set_regularization_params_ocr_class_mlpset_regularization_params_ocr_class_mlpSetRegularizationParamsOcrClassMlpSetRegularizationParamsOcrClassMlpSetRegularizationParamsOcrClassMlpset_regularization_params_ocr_class_mlp. Furthermore, get_regularization_params_ocr_class_mlpget_regularization_params_ocr_class_mlpGetRegularizationParamsOcrClassMlpGetRegularizationParamsOcrClassMlpGetRegularizationParamsOcrClassMlpget_regularization_params_ocr_class_mlp 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_mlpset_regularization_params_ocr_class_mlpSetRegularizationParamsOcrClassMlpSetRegularizationParamsOcrClassMlpSetRegularizationParamsOcrClassMlpset_regularization_params_ocr_class_mlp.

Execution Information

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle (input_control)  ocr_mlp HOCRMlp, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Name of the regularization parameter to return.

Default value: 'weight_prior' "weight_prior" "weight_prior" "weight_prior" "weight_prior" "weight_prior"

List of values: 'fraction_well_determined_params'"fraction_well_determined_params""fraction_well_determined_params""fraction_well_determined_params""fraction_well_determined_params""fraction_well_determined_params", 'num_inner_iterations'"num_inner_iterations""num_inner_iterations""num_inner_iterations""num_inner_iterations""num_inner_iterations", 'num_outer_iterations'"num_outer_iterations""num_outer_iterations""num_outer_iterations""num_outer_iterations""num_outer_iterations", 'num_well_determined_params'"num_well_determined_params""num_well_determined_params""num_well_determined_params""num_well_determined_params""num_well_determined_params", 'weight_prior'"weight_prior""weight_prior""weight_prior""weight_prior""weight_prior"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (output_control)  number(-array) HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Value of the regularization parameter.

Result

If the parameters are valid, the operator get_regularization_params_ocr_class_mlpget_regularization_params_ocr_class_mlpGetRegularizationParamsOcrClassMlpGetRegularizationParamsOcrClassMlpGetRegularizationParamsOcrClassMlpget_regularization_params_ocr_class_mlp returns the value TRUE. If necessary, an exception is raised.

Possible Predecessors

set_regularization_params_ocr_class_mlpset_regularization_params_ocr_class_mlpSetRegularizationParamsOcrClassMlpSetRegularizationParamsOcrClassMlpSetRegularizationParamsOcrClassMlpset_regularization_params_ocr_class_mlp, read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpReadOcrClassMlpread_ocr_class_mlp

Possible Successors

trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlptrainf_ocr_class_mlp

Module

OCR/OCV