smadwer / heart-disease-classifier Goto Github PK
View Code? Open in Web Editor NEWThis code loads a heart disease dataset from a CSV file, splits it into training and testing sets, trains a decision tree classifier on the training set, and predicts the output for the testing set. It then calculates the accuracy score of the model and prints it.