Learning objectives:
Train supervised ML models
Evaluate supervised ML models
Train unsupervised ML models
Workflow description: A data set with customer transaction information is used in these examples.
In the first example, a decision tree model is trained to classify which customers have received discount. The performance of the trained model is then evaluated.
In the second example, a regression model is trained to describe the customer total spending by the number of unique items purchased. The performance of the trained model is then evaluated.
In the third example, data with similar features are grouped into clusters by k-Means algorithm.