clear_sampsetT_clear_sampsetClearSampsetClearSampsetclear_sampset (Operator)

Name

clear_sampsetT_clear_sampsetClearSampsetClearSampsetclear_sampset — Free memory of a data set.

Warning

clear_sampsetclear_sampsetClearSampsetClearSampsetClearSampsetclear_sampset 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()

def clear_sampset(samp_key: HHandle) -> None

Description

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

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

SampKeySampKeySampKeySampKeysampKeysamp_key (input_control, state is modified)  feature_set HFeatureSet, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Number of the data set.

Result

clear_sampsetclear_sampsetClearSampsetClearSampsetClearSampsetclear_sampset returns TRUE. An exception is raised if the key SampKeySampKeySampKeySampKeysampKeysamp_key does not exist.

Possible Predecessors

create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBoxcreate_class_box, enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBoxenquire_class_box, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBoxlearn_class_box, write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxWriteClassBoxwrite_class_box

See also

test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxTestSampsetBoxtest_sampset_box, learn_sampset_boxlearn_sampset_boxLearnSampsetBoxLearnSampsetBoxLearnSampsetBoxlearn_sampset_box, read_sampsetread_sampsetReadSampsetReadSampsetReadSampsetread_sampset

Module

Foundation