using three different supervised learning algorithms:
- Logistic Regression
- Support Vector Machine
- K-nearest Neighbors
The response variable will take value 1 in case of stroke and 0 otherwise.
dataset: https://www.kaggle.com/datasets/fedesoriano/stroke-prediction-dataset
Logistic regression | SVM | K-nearest neighbors | |
---|---|---|---|
Acc | 95% | 95% | 94% |
TP | 931 | 931 | 927 |
FP | 51 | 51 | 51 |
FN | 0 | 0 | 4 |
TN | 0 | 0 | 0 |