Tag machine learning in programming