Title :
Application of Metamorphic Testing to Supervised Classifiers
Author :
Xie, Xiaoyuan ; Ho, Joshua ; Murphy, Christian ; Kaiser, Gail ; Xu, Baowen ; Chen, Tsong Yueh
Author_Institution :
Centre for Software Anal. & Testing, Swinburne Univ. of Technol., Hawthorn, VIC, Australia
Abstract :
Many applications in the field of scientific computing - such as computational biology, computational linguistics, and others - depend on Machine Learning algorithms to provide important core functionality to support solutions in the particular problem domains. However, it is difficult to test such applications because often there is no "test oracle" to indicate what the correct output should be for arbitrary input. To help address the quality of such software, in this paper we present a technique for testing the implementations of supervised machine learning classification algorithms on which such scientific computing software depends. Our technique is based on an approach called "metamorphic testing", which has been shown to be effective in such cases. More importantly, we demonstrate that our technique not only serves the purpose of verification, but also can be applied in validation. In addition to presenting our technique, we describe a case study we performed on a real-world machine learning application framework, and discuss how programmers implementing machine learning algorithms can avoid the common pitfalls discovered in our study. We also discuss how our findings can be of use to other areas outside scientific computing, as well.
Keywords :
learning (artificial intelligence); pattern classification; program testing; program verification; software quality; metamorphic testing; scientific computing software; supervised machine learning classification algorithm; test oracle; Application software; Classification algorithms; Computational biology; Computational linguistics; Machine learning; Machine learning algorithms; Scientific computing; Software algorithms; Software quality; Software testing; Machine Learning; Metamorphic Testing; Oracle Problem; Software Testing;
Conference_Titel :
Quality Software, 2009. QSIC '09. 9th International Conference on
Conference_Location :
Jeju
Print_ISBN :
978-1-4244-5912-4
DOI :
10.1109/QSIC.2009.26