clear_sampsetT_clear_sampsetClearSampsetClearSampset (Operator)

Name

clear_sampsetT_clear_sampsetClearSampsetClearSampset — Free memory of a data set.

Warning

clear_sampsetclear_sampsetClearSampsetClearSampsetClearSampset is obsolete and is only provided for reasons of backward compatibility. New applications should use the MLP, SVM, KNN or GMM operators instead.

Signature

clear_sampset( : : SampKey : )

Herror T_clear_sampset(const Htuple SampKey)

void ClearSampset(const HTuple& SampKey)

void HFeatureSet::ClearSampset() const

static void HOperatorSet.ClearSampset(HTuple sampKey)

void HFeatureSet.ClearSampset()

Description

clear_sampsetclear_sampsetClearSampsetClearSampsetClearSampset frees the memory which was used for training data set having read by read_sampsetread_sampsetReadSampsetReadSampsetReadSampset. This memory is only reusable in combination with read_sampsetread_sampsetReadSampsetReadSampsetReadSampset.

Execution Information

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

SampKeySampKeySampKeySampKeysampKey (input_control, state is modified)  feature_set HFeatureSet, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Number of the data set.

Result

clear_sampsetclear_sampsetClearSampsetClearSampsetClearSampset returns 2 (H_MSG_TRUE). An exception is raised if the key SampKeySampKeySampKeySampKeysampKey does not exist.

Possible Predecessors

create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBox, enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBox, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBox, write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxWriteClassBox

See also

test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxTestSampsetBox, learn_sampset_boxlearn_sampset_boxLearnSampsetBoxLearnSampsetBoxLearnSampsetBox, read_sampsetread_sampsetReadSampsetReadSampsetReadSampset

Module

Foundation