descript_class_boxT_descript_class_boxDescriptClassBoxDescriptClassBox (Operator)
Name
descript_class_boxT_descript_class_boxDescriptClassBoxDescriptClassBox
— Describe the classes of a box classifier.
Warning
descript_class_boxdescript_class_boxDescriptClassBoxDescriptClassBoxDescriptClassBox
is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
MLP, SVM, KNN or GMM operators instead.
Signature
void DescriptClassBox(const HTuple& ClassifHandle, const HTuple& Dimensions, HTuple* ClassIdx, HTuple* BoxIdx, HTuple* BoxLowerBound, HTuple* BoxHigherBound, HTuple* BoxNumSamplesTrain, HTuple* BoxNumSamplesWrong)
HTuple HClassBox::DescriptClassBox(Hlong Dimensions, HTuple* BoxIdx, HTuple* BoxLowerBound, HTuple* BoxHigherBound, HTuple* BoxNumSamplesTrain, HTuple* BoxNumSamplesWrong) const
Hlong HClassBox::DescriptClassBox(Hlong Dimensions, Hlong* BoxIdx, Hlong* BoxLowerBound, Hlong* BoxHigherBound, Hlong* BoxNumSamplesTrain, Hlong* BoxNumSamplesWrong) const
static void HOperatorSet.DescriptClassBox(HTuple classifHandle, HTuple dimensions, out HTuple classIdx, out HTuple boxIdx, out HTuple boxLowerBound, out HTuple boxHigherBound, out HTuple boxNumSamplesTrain, out HTuple boxNumSamplesWrong)
HTuple HClassBox.DescriptClassBox(int dimensions, out HTuple boxIdx, out HTuple boxLowerBound, out HTuple boxHigherBound, out HTuple boxNumSamplesTrain, out HTuple boxNumSamplesWrong)
int HClassBox.DescriptClassBox(int dimensions, out int boxIdx, out int boxLowerBound, out int boxHigherBound, out int boxNumSamplesTrain, out int boxNumSamplesWrong)
Description
descript_class_boxdescript_class_boxDescriptClassBoxDescriptClassBoxDescriptClassBox
describes the classes of a box classifier. A box
classifier uses a set of hyper cuboids (boxes) for every class. These boxes
describe the distribution of the samples.
descript_class_boxdescript_class_boxDescriptClassBoxDescriptClassBoxDescriptClassBox
returns for every class (ClassIdxClassIdxClassIdxClassIdxclassIdx
) the
boundaries of every contained box (BoxIdxBoxIdxBoxIdxBoxIdxboxIdx
) from dimension 1 up to
DimensionsDimensionsDimensionsDimensionsdimensions
(BoxLowerBoundBoxLowerBoundBoxLowerBoundBoxLowerBoundboxLowerBound
, BoxHigherBoundBoxHigherBoundBoxHigherBoundBoxHigherBoundboxHigherBound
) as
well as the number of samples that were used during the learning phase to
determine these boundaries at each dimension (BoxNumSamplesTrainBoxNumSamplesTrainBoxNumSamplesTrainBoxNumSamplesTrainboxNumSamplesTrain
).
Furthermore, the number of samples that were assigned to the wrong class
during the learning phase is returned in BoxNumSamplesWrongBoxNumSamplesWrongBoxNumSamplesWrongBoxNumSamplesWrongboxNumSamplesWrong
.
The boundary information of the boxes can be used to inspect the box
classifier.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
ClassifHandleClassifHandleClassifHandleClassifHandleclassifHandle
(input_control) class_box →
HClassBox, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the classifier.
DimensionsDimensionsDimensionsDimensionsdimensions
(input_control) integer →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Highest dimension for output.
Default value: 3
ClassIdxClassIdxClassIdxClassIdxclassIdx
(output_control) integer(-array) →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Indices of the classes.
BoxIdxBoxIdxBoxIdxBoxIdxboxIdx
(output_control) integer(-array) →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Indices of the boxes.
BoxLowerBoundBoxLowerBoundBoxLowerBoundBoxLowerBoundboxLowerBound
(output_control) integer(-array) →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Lower bounds of the boxes (for each dimension).
BoxHigherBoundBoxHigherBoundBoxHigherBoundBoxHigherBoundboxHigherBound
(output_control) integer(-array) →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Higher bounds of the boxes (for each dimension).
BoxNumSamplesTrainBoxNumSamplesTrainBoxNumSamplesTrainBoxNumSamplesTrainboxNumSamplesTrain
(output_control) integer(-array) →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of training samples that were used to define this
box (for each dimension).
BoxNumSamplesWrongBoxNumSamplesWrongBoxNumSamplesWrongBoxNumSamplesWrongboxNumSamplesWrong
(output_control) integer(-array) →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of training samples that were assigned
incorrectly to the box.
Result
descript_class_boxdescript_class_boxDescriptClassBoxDescriptClassBoxDescriptClassBox
returns 2 (H_MSG_TRUE).
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
See also
create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBox
,
enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBox
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBox
,
read_class_boxread_class_boxReadClassBoxReadClassBoxReadClassBox
,
write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxWriteClassBox
Module
Foundation