Uncertainty aware neural network from similarity and sensitivity[Formula presented]