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_boxTestSampsetBoxTestSampsetBoxTestSampsetBoxtest_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.

Signature

test_sampset_box( : : ClassifHandle, SampKey : Error)

Herror T_test_sampset_box(const Htuple ClassifHandle, const Htuple SampKey, Htuple* Error)

void TestSampsetBox(const HTuple& ClassifHandle, const HTuple& SampKey, HTuple* Error)

double HFeatureSet::TestSampsetBox(const HClassBox& ClassifHandle) const

double HClassBox::TestSampsetBox(const HFeatureSet& SampKey) const

static void HOperatorSet.TestSampsetBox(HTuple classifHandle, HTuple sampKey, out HTuple error)

double HFeatureSet.TestSampsetBox(HClassBox classifHandle)

double HClassBox.TestSampsetBox(HFeatureSet sampKey)

def test_sampset_box(classif_handle: HHandle, samp_key: HHandle) -> float

Description

In contrast to learn_sampset_boxlearn_sampset_boxLearnSampsetBoxLearnSampsetBoxLearnSampsetBoxlearn_sampset_box there is not a learning here. Typically you use test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxTestSampsetBoxtest_sampset_box to classify independent test data. ErrorErrorErrorErrorerrorerror gives you information about the applicability of the learned training set on new examples.

Execution Information

Parameters

ClassifHandleClassifHandleClassifHandleClassifHandleclassifHandleclassif_handle (input_control)  class_box HClassBox, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the classifier.

SampKeySampKeySampKeySampKeysampKeysamp_key (input_control)  feature_set HFeatureSet, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Key of the test data.

ErrorErrorErrorErrorerrorerror (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Error during the assignment.

Result

test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxTestSampsetBoxtest_sampset_box returns 2 (H_MSG_TRUE). An exception is raised, if if key SampKeySampKeySampKeySampKeysampKeysamp_key does not exist or problems occur while opening the file.

Possible Predecessors

create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBoxcreate_class_box, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBoxlearn_class_box, set_class_box_paramset_class_box_paramSetClassBoxParamSetClassBoxParamSetClassBoxParamset_class_box_param

Possible Successors

enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBoxenquire_class_box, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBoxlearn_class_box, write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxWriteClassBoxwrite_class_box, close_class_boxclose_class_boxCloseClassBoxCloseClassBoxCloseClassBoxclose_class_box, clear_sampsetclear_sampsetClearSampsetClearSampsetClearSampsetclear_sampset

See also

enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBoxenquire_class_box, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBoxlearn_class_box, learn_sampset_boxlearn_sampset_boxLearnSampsetBoxLearnSampsetBoxLearnSampsetBoxlearn_sampset_box, read_sampsetread_sampsetReadSampsetReadSampsetReadSampsetread_sampset

Module

Foundation