A Validation Index For Artificial Neural Networks