iHerb Interview Question

How do you know your algorithm is doing a prediction?