Tag machine learning in apps