Machine learning can involve tasks typically associated with software engineering, such as building and maintaining the infrastructure needed for machine learning models. However, roles specifically focused on developing and optimizing ML models are often referred to as machine learning engineers or data scientists.