Text this: Evaluating Coding Proficiency of Large Language Models: An Investigation Through Machine Learning Problems