Template:EI-Probability Algorithm