Validation method from neural network