Heart Disease Prediction

Machine learning
Logistic Regression
Python
Scikit-learn
Matplotlib
Seaborn
Pandas

The Heart Disease Prediction Model, employing Logistic Regression, is designed to assess the likelihood of an individual having heart disease based on crucial parameters. Utilizing factors like age, blood pressure, cholesterol levels, and exercise induced angima, the model evaluates the probability of an individual having a heart condition. Logistic Regression, a binary classification algorithm, efficiently models the relationship between these factors and the presence or absence of heart disease. By analyzing a dataset containing historical health records and corresponding health conditions, the model learns to predict the probability of heart disease occurrence in new cases.

Feature Description
  • age: The age of the person
  • sex: The gendeer of the person
  • cp: The type of chest pain (4 values)
  • trestbps: The resting blood pressure of the person
  • chol: The serum cholestoral in mg/dl of the person
  • fbs: Is the fasting blood sugar > 120 mg/dl
  • restecg: resting electrocardiographic results (values: 0,1,2)
  • thalach: maximum heart rate achieved by the person
  • exang: exercise induced angina of the person
  • oldpeak: ST depression induced by exercise relative to rest of the person
  • slope: the slope of the peak exercise ST segment of the person
  • ca: number of major vessels (0-3) colored by flourosopy of the person
  • thal: 0 = normal; 1 = fixed defect; 2 = reversable defect

Files

Try it out
Click Run for Results
Most Used Packages
logo
Scikit-learn
logo
Pandas
logo
Numpy
logo
Seaborn
Other Projects