Learned both learning and problem solving to develop statistical models for real-world AI applications