descript_class_boxT_descript_class_boxDescriptClassBoxDescriptClassBoxdescript_class_box (算子名称)
名称
descript_class_boxT_descript_class_boxDescriptClassBoxDescriptClassBoxdescript_class_box
— Describe the classes of a box classifier.
Warning
descript_class_boxdescript_class_boxDescriptClassBoxDescriptClassBoxDescriptClassBoxdescript_class_box
is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
MLP, SVM, KNN or GMM operators instead.
参数签名
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)
def descript_class_box(classif_handle: HHandle, dimensions: int) -> Tuple[Sequence[int], Sequence[int], Sequence[int], Sequence[int], Sequence[int], Sequence[int]]
def descript_class_box_s(classif_handle: HHandle, dimensions: int) -> Tuple[int, int, int, int, int, int]
描述
descript_class_boxdescript_class_boxDescriptClassBoxDescriptClassBoxDescriptClassBoxdescript_class_box
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_boxDescriptClassBoxDescriptClassBoxDescriptClassBoxdescript_class_box
returns for every class (ClassIdxClassIdxClassIdxClassIdxclassIdxclass_idx
) the
boundaries of every contained box (BoxIdxBoxIdxBoxIdxBoxIdxboxIdxbox_idx
) from dimension 1 up to
DimensionsDimensionsDimensionsDimensionsdimensionsdimensions
(BoxLowerBoundBoxLowerBoundBoxLowerBoundBoxLowerBoundboxLowerBoundbox_lower_bound
, BoxHigherBoundBoxHigherBoundBoxHigherBoundBoxHigherBoundboxHigherBoundbox_higher_bound
) as
well as the number of samples that were used during the learning phase to
determine these boundaries at each dimension (BoxNumSamplesTrainBoxNumSamplesTrainBoxNumSamplesTrainBoxNumSamplesTrainboxNumSamplesTrainbox_num_samples_train
).
Furthermore, the number of samples that were assigned to the wrong class
during the learning phase is returned in BoxNumSamplesWrongBoxNumSamplesWrongBoxNumSamplesWrongBoxNumSamplesWrongboxNumSamplesWrongbox_num_samples_wrong
.
The boundary information of the boxes can be used to inspect the box
classifier.
运行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
参数表
ClassifHandleClassifHandleClassifHandleClassifHandleclassifHandleclassif_handle
(input_control) class_box →
HClassBox, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the classifier.
DimensionsDimensionsDimensionsDimensionsdimensionsdimensions
(input_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Highest dimension for output.
Default:
3
ClassIdxClassIdxClassIdxClassIdxclassIdxclass_idx
(output_control) integer(-array) →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Indices of the classes.
BoxIdxBoxIdxBoxIdxBoxIdxboxIdxbox_idx
(output_control) integer(-array) →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Indices of the boxes.
BoxLowerBoundBoxLowerBoundBoxLowerBoundBoxLowerBoundboxLowerBoundbox_lower_bound
(output_control) integer(-array) →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Lower bounds of the boxes (for each dimension).
BoxHigherBoundBoxHigherBoundBoxHigherBoundBoxHigherBoundboxHigherBoundbox_higher_bound
(output_control) integer(-array) →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Higher bounds of the boxes (for each dimension).
BoxNumSamplesTrainBoxNumSamplesTrainBoxNumSamplesTrainBoxNumSamplesTrainboxNumSamplesTrainbox_num_samples_train
(output_control) integer(-array) →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of training samples that were used to define this
box (for each dimension).
BoxNumSamplesWrongBoxNumSamplesWrongBoxNumSamplesWrongBoxNumSamplesWrongboxNumSamplesWrongbox_num_samples_wrong
(output_control) integer(-array) →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of training samples that were assigned
incorrectly to the box.
结果
descript_class_boxdescript_class_boxDescriptClassBoxDescriptClassBoxDescriptClassBoxdescript_class_box
returns 2 (
H_MSG_TRUE)
.
可能的前置算子
create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBoxcreate_class_box
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBoxlearn_class_box
,
set_class_box_paramset_class_box_paramSetClassBoxParamSetClassBoxParamSetClassBoxParamset_class_box_param
可能的后置算子
enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBoxenquire_class_box
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBoxlearn_class_box
,
write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxWriteClassBoxwrite_class_box
,
close_class_boxclose_class_boxCloseClassBoxCloseClassBoxCloseClassBoxclose_class_box
参考其它
create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxCreateClassBoxcreate_class_box
,
enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxEnquireClassBoxenquire_class_box
,
learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxLearnClassBoxlearn_class_box
,
read_class_boxread_class_boxReadClassBoxReadClassBoxReadClassBoxread_class_box
,
write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxWriteClassBoxwrite_class_box
模块
Foundation