get_class_box_paramT_get_class_box_paramGetClassBoxParamGetClassBoxParamget_class_box_param (Operator)
get_class_box_paramT_get_class_box_paramGetClassBoxParamGetClassBoxParamget_class_box_param
— Get information about the current parameter.
Warning
get_class_box_paramget_class_box_paramGetClassBoxParamGetClassBoxParamget_class_box_param
is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
MLP, SVM, KNN or GMM operators instead. The operator will be removed with
HALCON 25.11.
Signature
Description
get_class_box_paramget_class_box_paramGetClassBoxParamGetClassBoxParamget_class_box_param
gets the parameter of the
classifier. The meaning of the parameter is explained in
set_class_box_paramset_class_box_paramSetClassBoxParamSetClassBoxParamset_class_box_param
.
Default:
'min_samples_for_split'"min_samples_for_split""min_samples_for_split""min_samples_for_split""min_samples_for_split" = 80,
'split_error'"split_error""split_error""split_error""split_error" = 0.1,
'prop_constant'"prop_constant""prop_constant""prop_constant""prop_constant" = 0.25.
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
ClassifHandleClassifHandleClassifHandleclassifHandleclassif_handle
(input_control) class_box →
HClassBox, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the classifier.
FlagFlagFlagflagflag
(input_control) string →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the system parameter.
Default:
'split_error'
"split_error"
"split_error"
"split_error"
"split_error"
List of values:
'min_samples_for_split'"min_samples_for_split""min_samples_for_split""min_samples_for_split""min_samples_for_split", 'prop_constant'"prop_constant""prop_constant""prop_constant""prop_constant", 'split_error'"split_error""split_error""split_error""split_error", 'used_memory'"used_memory""used_memory""used_memory""used_memory"
ValueValueValuevaluevalue
(output_control) number →
HTupleUnion[int, float]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Value of the system parameter.
Result
get_class_box_paramget_class_box_paramGetClassBoxParamGetClassBoxParamget_class_box_param
returns 2 (
H_MSG_TRUE)
. An exception
is raised if FlagFlagFlagflagflag
has been set with wrong values.
Possible Predecessors
create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxcreate_class_box
,
enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxenquire_class_box
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxlearn_class_box
,
write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxwrite_class_box
Possible Successors
set_class_box_paramset_class_box_paramSetClassBoxParamSetClassBoxParamset_class_box_param
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxlearn_class_box
,
enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxenquire_class_box
,
write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxwrite_class_box
,
close_class_boxclose_class_boxCloseClassBoxCloseClassBoxclose_class_box
,
clear_sampsetclear_sampsetClearSampsetClearSampsetclear_sampset
See also
create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxcreate_class_box
,
set_class_box_paramset_class_box_paramSetClassBoxParamSetClassBoxParamset_class_box_param
Module
Foundation