Table 2.
The dataset used in this example
| S. no. | Gastric cancer | History of stomach surgery | Milk consumption | Smoking | Family history of gastric cancer |
|---|---|---|---|---|---|
| 1 | ✓ | ✓ | ✗ | ✓ | ✓ |
| 2 | ✓ | ✓ | ✗ | ✓ | ✓ |
| 3 | ✓ | ✗ | ✗ | ✓ | ✓ |
| 4 | ✓ | ✓ | ✓ | ✗ | ✗ |
| 5 | ✓ | ✓ | ✓ | ✓ | ✓ |
| 6 | ✓ | ✓ | ✗ | ✓ | ✓ |
| 7 | ✗ | ✗ | ✓ | ✗ | ✓ |
| 8 | ✗ | ✗ | ✓ | ✗ | ✗ |
| 9 | ✗ | ✗ | ✓ | ✗ | ✗ |
| 10 | ✗ | ✗ | ✗ | ✓ | ✗ |