ClassesClasses | | Operators

set_class_box_paramset_class_box_paramSetClassBoxParamSetClassBoxParam (Operator)

Name

set_class_box_paramset_class_box_paramSetClassBoxParamSetClassBoxParam — Set system parameters for classification.

Warning

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

Signature

set_class_box_param( : : ClassifHandle, Flag, Value : )

Herror set_class_box_param(const Hlong ClassifHandle, const char* Flag, double Value)

Herror T_set_class_box_param(const Htuple ClassifHandle, const Htuple Flag, const Htuple Value)

void SetClassBoxParam(const HTuple& ClassifHandle, const HTuple& Flag, const HTuple& Value)

void HClassBox::SetClassBoxParam(const HString& Flag, const HTuple& Value) const

void HClassBox::SetClassBoxParam(const HString& Flag, double Value) const

void HClassBox::SetClassBoxParam(const char* Flag, double Value) const

static void HOperatorSet.SetClassBoxParam(HTuple classifHandle, HTuple flag, HTuple value)

void HClassBox.SetClassBoxParam(string flag, HTuple value)

void HClassBox.SetClassBoxParam(string flag, double value)

Description

set_class_box_paramset_class_box_paramSetClassBoxParamSetClassBoxParamSetClassBoxParam modifies parameter which manipulate the training sequence while calling learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBox. Only parameters of the classifier are modified, all other classifiers remain unmodified. 'min_samples_for_split' is the number of examples at least which have to train in one cuboid of this classifier, before the cuboid is allowed to divide itself. 'split_error' indicates the critical error. By its exceeding the cuboid divides itself, if there are more than 'min_samples_for_split' examples to train. 'prop_constant' manipulates the extension of the cuboids. It is proportional to the average distance of the training examples in this cuboid to the center of the cuboid. More detailed:

   extension x prop = average distance of the expectation value.
This relation is valid in every dimension. Hence inside a cuboid the dimensions of the feature space are supposed to be independent.

The parameters are set with problem independent default values, which must not modified without any reason. Parameters are only important during a learning sequence. They do not influence on the behavior of enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBox.

Default setting:

'min_samples_for_split' = 80,

'split_error' = 0.1,

'prop_constant' = 0.25

Execution Information

This operator modifies the state of the following input parameter:

The value of this parameter may not be shared across multiple threads without external synchronization.

Parameters

ClassifHandleClassifHandleClassifHandleClassifHandleclassifHandle (input_control, state is modified)  class_box HClassBox, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the classifier.

FlagFlagFlagFlagflag (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of the wanted parameter.

Default value: 'split_error' "split_error" "split_error" "split_error" "split_error"

Suggested values: 'min_samples_for_split'"min_samples_for_split""min_samples_for_split""min_samples_for_split""min_samples_for_split", 'split_error'"split_error""split_error""split_error""split_error", 'prop_constant'"prop_constant""prop_constant""prop_constant""prop_constant"

ValueValueValueValuevalue (input_control)  number HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Value of the parameter.

Default value: 0.1

Result

read_sampsetread_sampsetReadSampsetReadSampsetReadSampset returns 2 (H_MSG_TRUE).

Possible Predecessors

create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBox, enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBox

Possible Successors

learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBox, test_sampset_boxtest_sampset_boxTestSampsetBoxTestSampsetBoxTestSampsetBox, write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxWriteClassBox, close_class_boxclose_class_boxCloseClassBoxCloseClassBoxCloseClassBox, clear_sampsetclear_sampsetClearSampsetClearSampsetClearSampset

See also

enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBox, get_class_box_paramget_class_box_paramGetClassBoxParamGetClassBoxParamGetClassBoxParam, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBox

Module

Foundation


ClassesClasses | | Operators