A comparative analysis of coding approaches in machine learning among computer science students and non-computer science students