To begin with, let us consider the data collected at a restaurant through customer interviews. The customers were asked to give a score to the following aspects: Service, Ambience, and Food. They were also asked whether they would leave the tip on the basis of these scores. In this case, the number of inputs is three and the output is a categorical value (Tip=1 and No-tip=0).
The input file to be used is shown in the following screenshot:
All the variables are shown in the following list:
- CustomerWillTip
- Service
- Ambience
- Food
This is a classification problem with three ...