How to frame Machine learning problem