Understanding logits confidence in machine learning