This script is about building classification models using sklearn library.
• Building models
• Evaluation
• Visualization of scores
• Cross validation
Disclaimer: The dataset has minor modifications to protect its confidentiality.
Description: You are given a dataset of patients to be tested for heart disease. Features are given below.
• age
• sex – Male, Female
• cp - chest pain type (4 values)
• trestbps - resting blood pressure
• chol - serum cholestoral in mg/dl
• fbs - fasting blood sugar > 120 mg/dl
• restecg - resting electrocardiographic results, values: 0,1,2
• thalach - maximum heart rate achieved
• exang - exercise induced angina
• oldpeak - ST depression induced by exercise relative to rest
• slope - the slope of the peak exercise ST segment
• ca - number of major vessels colored by flourosopy, values: 0,1,2,3,4
• thal - values: 0,1,2,3
• target – is the column we want to predict.