Defining the problem is critical in applying ML that converts a complex challenge into a welldefined scope and purpose. To start, one should define the objectives, outline desired outcomes, and determine if the task is a regression problem (such as predicting DBP concentration) or a classification problem (such as categorizing drinking water contamination status and pipe burst localization).