English

Optimal N-ary ECOC Matrices for Ensemble Classification

Machine Learning 2021-10-06 v1 Information Theory math.IT

Abstract

A new recursive construction of NN-ary error-correcting output code (ECOC) matrices for ensemble classification methods is presented, generalizing the classic doubling construction for binary Hadamard matrices. Given any prime integer NN, this deterministic construction generates base-NN symmetric square matrices MM of prime-power dimension having optimal minimum Hamming distance between any two of its rows and columns. Experimental results for six datasets demonstrate that using these deterministic coding matrices for NN-ary ECOC classification yields comparable and in many cases higher accuracy compared to using randomly generated coding matrices. This is particular true when NN is adaptively chosen so that the dimension of MM matches closely with the number of classes in a dataset, which reduces the loss in minimum Hamming distance when MM is truncated to fit the dataset. This is verified through a distance formula for MM which shows that these adaptive matrices have significantly higher minimum Hamming distance in comparison to randomly generated ones.

Keywords

Cite

@article{arxiv.2110.02161,
  title  = {Optimal N-ary ECOC Matrices for Ensemble Classification},
  author = {Hieu D. Nguyen and Lucas J. Lavalva and Shen-Shyang Ho and Mohammed Sarosh Khan and Nicholas Kaegi},
  journal= {arXiv preprint arXiv:2110.02161},
  year   = {2021}
}

Comments

20 pages, 75 figures

R2 v1 2026-06-24T06:38:29.963Z