| Algorithm 1: Algorithms for the CHSLB dataset used in this study. |
| Input: symptoms |
| Output: predict heart disease present or not present |
| 1. If (the model has not been trained), then |
| 2. Dataset load; |
| 3. Correlation of data; |
| 4. Split x and y; |
| 5. Train (70%), test (30%); |
| 6. Load pre-trained model; |
| 7. Educate the model; |
| 8. Save the model that has been trained. |
| 11. Loads trained model if everything else fails; |
| 12. Validate the model using the test data set; |
| 13. Confusion metrics and plot graphs. |