Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mannurkishorreddy authored Feb 16, 2024
1 parent 650f59e commit 9321650
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# Heart Attack Prediction
Analyzing Key Factors for Predicting Heart Disease Risk
# Heart Attack Prediction Analysis

## Introduction
This repository contains a comprehensive analysis and prediction model focused on heart attack risks. The project utilizes Python libraries like NumPy, Pandas, Seaborn, and Matplotlib for data manipulation and visualization.

## Dataset
The `heart.csv` dataset includes various health metrics like age, sex, chest pain type, resting blood pressure, cholesterol levels, fasting blood sugar, resting electrocardiographic results, maximum heart rate, and others. It consists of 1025 entries with 14 columns, providing a rich dataset for analysis.

## Exploratory Data Analysis
The EDA involves histogram plotting for age distribution, a heatmap for correlation analysis, and a detailed investigation of each feature's impact on heart attack risk.

## Model Building and Evaluation
We employ machine learning models like Linear Regression and XGBRegressor. The models are trained and evaluated using metrics like Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and R2 Score. A comparative analysis of these models is provided to determine the most effective approach.

## Feature Engineering and PCA
The project explores Principal Component Analysis (PCA) for feature dimensionality reduction, assessing its impact on model performance.

## Cross-Validation
We use K-Fold Cross-Validation for a more robust evaluation of model performance, providing insights into the generalizability of our models.

## Instructions for Use
Run the "Heart Attack Predicton_EDA_Modeling" Notebook using the "heart.csv" data file.

0 comments on commit 9321650

Please sign in to comment.