- Learning Data Mining with Python(Second Edition)
- Robert Layton
- 72字
- 2021-07-02 23:40:04
A simple classification example
In the affinity analysis example, we looked for correlations between different variables in our dataset. In classification, we have a single variable that we are interested in and that we call the class (also called the target). In the earlier example, if we were interested in how to make people buy more apples, we would explore the rules related to apples and use those to inform our decisions.