test_sampset_boxT_test_sampset_boxTestSampsetBoxTestSampsetBox (Operator)

Name

test_sampset_boxT_test_sampset_boxTestSampsetBoxTestSampsetBox — Classify a set of arrays.

Warning

test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxTestSampsetBox 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)

Description

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

Execution Information

Parameters

ClassifHandleClassifHandleClassifHandleClassifHandleclassifHandle (input_control)  class_box HClassBox, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the classifier.

SampKeySampKeySampKeySampKeysampKey (input_control)  feature_set HFeatureSet, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Key of the test data.

ErrorErrorErrorErrorerror (output_control)  real HTupleHTupleHtuple (real) (double) (double) (double)

Error during the assignment.

Result

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

Possible Predecessors

create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBox, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBox, set_class_box_paramset_class_box_paramSetClassBoxParamSetClassBoxParamSetClassBoxParam

Possible Successors

enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBox, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBox, write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxWriteClassBox, close_class_boxclose_class_boxCloseClassBoxCloseClassBoxCloseClassBox, clear_sampsetclear_sampsetClearSampsetClearSampsetClearSampset

See also

enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBox, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBox, learn_sampset_boxlearn_sampset_boxLearnSampsetBoxLearnSampsetBoxLearnSampsetBox, read_sampsetread_sampsetReadSampsetReadSampsetReadSampset

Module

Foundation