Loading project…
Loading project…
I explored who bought travel insurance by age, employment type and income, then trained a decision tree on seven columns and scored 81.4% on a 20% test split.
Original tutorial by Aman Kharwal: Insurance Prediction (opens in a new tab)
| Output | Value | Cell # |
|---|---|---|
| Test accuracy (decision tree) | 81.4% |
Cell # counts every cell from the top of the notebook, Markdown included, starting at 1.
I never printed the share of people who did not buy, so 81.4% has nothing to be compared with.
A 1,987-row travel insurance table from the tutorial author's data repository.