iHerb interview question

How do you know your algorithm is doing a prediction?