A Comparison of Four Data Selection Methods for Artificial Neural Networks and Support Vector Machines