test_sampset_boxT_test_sampset_boxTestSampsetBoxTestSampsetBoxtest_sampset_box (Operator)
Name
test_sampset_boxT_test_sampset_boxTestSampsetBoxTestSampsetBoxtest_sampset_box
— Classify a set of arrays.
Warning
test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxtest_sampset_box
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
In contrast to learn_sampset_boxlearn_sampset_boxLearnSampsetBoxLearnSampsetBoxlearn_sampset_box
there is not a learning here.
Typically you use test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxtest_sampset_box
to classify
independent test data.
ErrorErrorErrorerrorerror
gives you information about the applicability of the learned
training set on new examples.
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.
SampKeySampKeySampKeysampKeysamp_key
(input_control) feature_set →
HFeatureSet, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Key of the test data.
ErrorErrorErrorerrorerror
(output_control) real →
HTuplefloatHTupleHtuple (real) (double) (double) (double)
Error during the assignment.
Result
test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxtest_sampset_box
returns 2 (
H_MSG_TRUE)
. An exception is raised,
if if key SampKeySampKeySampKeysampKeysamp_key
does not exist or problems occur while opening
the file.
Possible Predecessors
create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxcreate_class_box
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxlearn_class_box
,
set_class_box_paramset_class_box_paramSetClassBoxParamSetClassBoxParamset_class_box_param
Possible Successors
enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxenquire_class_box
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxlearn_class_box
,
write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxwrite_class_box
,
close_class_boxclose_class_boxCloseClassBoxCloseClassBoxclose_class_box
,
clear_sampsetclear_sampsetClearSampsetClearSampsetclear_sampset
See also
enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxenquire_class_box
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxlearn_class_box
,
learn_sampset_boxlearn_sampset_boxLearnSampsetBoxLearnSampsetBoxlearn_sampset_box
,
read_sampsetread_sampsetReadSampsetReadSampsetread_sampset
Module
Foundation