Static Public Member Functions

CECOCUtil Class Reference

Detailed Description

A helper class for some ECOC related procedures.

Definition at line 20 of file ECOCUtil.h.

List of all members.

Static Public Member Functions

template<typename T1 , typename T2 >
static int32_t hamming_distance (T1 *c1, T2 *c2, int32_t len)

Member Function Documentation

static int32_t hamming_distance ( T1 *  c1,
T2 *  c2,
int32_t  len 
) [static]

compute hamming distance.

code elements can be -1, +1 or 0, when 0 occurs, that position of code is not counted in the distance.

Definition at line 29 of file ECOCUtil.h.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation