How Confidence Level calculated by machine learning extractor?

In machine learning extractor how confidence level is calculated. Please provide some algorithm behind it.

Regards
Vishnu

Check this post -