Method for determining the confidence of a disparity map through a self-adaptive learning of a neural network, and sensor system thereof