A novel version of k nearest neighbor: Dependent nearest neighbor