Approaching a machine learning problem