k-Nearest neighbors optimization-based outlier removal

J Comput Chem. 2015 Mar 30;36(8):493-506. doi: 10.1002/jcc.23803. Epub 2014 Dec 15.

Abstract

Datasets of molecular compounds often contain outliers, that is, compounds which are different from the rest of the dataset. Outliers, while often interesting may affect data interpretation, model generation, and decisions making, and therefore, should be removed from the dataset prior to modeling efforts. Here, we describe a new method for the iterative identification and removal of outliers based on a k-nearest neighbors optimization algorithm. We demonstrate for three different datasets that the removal of outliers using the new algorithm provides filtered datasets which are better than those provided by four alternative outlier removal procedures as well as by random compound removal in two important aspects: (1) they better maintain the diversity of the parent datasets; (2) they give rise to quantitative structure activity relationship (QSAR) models with much better prediction statistics. The new algorithm is, therefore, suitable for the pretreatment of datasets prior to QSAR modeling.

Keywords: distance-based method; k-nearest neighbors; optimization; outlier detection; outlier removal; quantitative structure activity relationship.