In the current chapter, we took our problem solving skills one step ahead by trying to answer the question 'When'. In an attempt to provide John's team with a more powerful and actionable solution, we touched base on the predictive stack of data science. We analyzed the problem and found two different ways to solve the same problem-one being a regression problem (predicting a continuous outcome) and the other being a classification problem (predicting a categorical outcome). We started by solving the problem to predict the output quality parameter for the detergent before being manufactured. We used Linear Regression and also experimented the same problem with CART, that is, Decision trees. You learned about the functioning of the algorithm in detail (keeping the mathematical aspect aside) and experimented with a variety of techniques to improve the accuracy, but didn't achieve favorable results.
We then experimented with the alternative approach, where the same problem was defined...