Heart Disease Prediction using K-means clustering algorithm and Logistics regression
Implementation Details:
Heart Disease Prediction using K-Means clustering and Logistics Regression
1. We are taken dataset data.csv
2. Input data.csv is split into three cluster
Cluster 0, Cluster1, Cluster2
3. Every cluster data is taken for getting trainset and test set
Trainset contains 14 columns, whereas testset contains 13 column
4. Every cluster testset is predicted for heart disease
Accuracy is arrived
5. Logistics regression is performed and accuracy arrived
Python Demo