Question: Build the decision tree according to the data set below. consider both of these solutions methods a.according to the Chi-Square value. b.create the information gain.
Build the decision tree according to the data set below. consider both of these solutions methods
a.according to the Chi-Square value.
b.create the information gain.
not: please solve it manually i do not need code
| age>65 | smoke | Diyabet | result |
| 0 | 1 | 0 | cancer |
| 1 | 0 | 1 | Cancer |
| 0 | 1 | 0 | Cancer |
| 1 | 0 | 0 | Cancer |
| 0 | 1 | 0 | Cancer |
| 1 | 0 | 1 | Not cancer |
| 0 | 1 | 1 | Not cancer |
| 1 | 1 | 0 | Not cancer |
| 1 | 0 | 0 | Not cancer |
| 1 | 0 | 0 | Not cancer |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
