Research Article
A Computational Intelligence Approach for Predicting Medical Insurance Cost
Table 3
Categorical features to numerical values.
| Feature name/attribute | Categorical value | Numerical value |
| Sex | Male | 0 | Female | 1 | Smoker | No | 0 | Yes | 1 | Region | Northwest | 0 | Northeast | 1 | Southeast | 2 | Southwest | 3 |
|
|