Skip to content

Commit 39389c8

Browse files
authored
Update README.md
1 parent b141f6b commit 39389c8

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Myocardial-Infarction-using-ML
1+
# Myocardial-Infarction-using-ML (Binary Classification)
22
This project focuses on the detection of Myocardial infarction (heart attack) using machine learning techniques. We leverage the PTB diagnostic database, a widely used dataset in the field of cardiology.Myocardial infarction, a critical medical condition, requires prompt diagnosis and treatment. Machine learning algorithms offer the potential to aid healthcare professionals in accurately identifying myocardial infarction cases from electrocardiogram (ECG) data.
33

44
Dataset taken from Kaggle - https://www.kaggle.com/datasets/shayanfazeli/heartbeat
55

66
## Methodology-
77

88
## Data Preprocessing:
9-
Adding labels,normalizing the data,handling the imbalance.
9+
Added labels, normalized the data, handled class imbalance.
1010

1111
## Feature Extraction:
12-
Reducing feature size using PCA.
12+
Reduced feature size using PCA.
1313

1414
## Algorithms Used:
1515
KNN , Random forest , SVM
@@ -18,22 +18,26 @@ KNN , Random forest , SVM
1818
Training machine learning models, including but not limited to, Support Vector Machines (SVM), Random Forest, and K-Nearest Neighbours (KNN), on the extracted features.
1919

2020
## Model Evaluation:
21-
Evaluating the performance of trained models using metrics such as accuracy, sensitivity, specificity, and area under the receiver operating characteristic curve (AUC-ROC).
21+
Evaluated the performance of trained models using metrics such as accuracy, sensitivity, specificity, and area under the receiver operating characteristic curve (AUC-ROC).
2222

2323
## Usage
2424

2525
1.Clone the repository:
26-
git clone https://github.com/yourusername/myocardial-infarction-detection.git
26+
git clone https://github.com/sidd1915/myocardial-infarction-using-ML
2727

28-
2.Install the required dependencies:
29-
pip install -r requirements.txt
28+
2.Install the required dependencies
3029

31-
3.Explore the Jupyter notebooks in the notebooks/ directory to understand the data preprocessing, feature extraction, model training, and evaluation processes.
30+
3.Start Jupyter Notebook:
31+
jupyter notebook
3232

33-
4.Run the notebooks sequentially to replicate our experiments or adapt the code to your specific requirements.
33+
4.Open the notebook file (.ipynb) to explore and run the code cells.
3434

3535
## Results
3636
Our experiments demonstrate promising results in myocardial infarction detection using machine learning techniques. The models achieve high accuracy and sensitivity, indicating their potential for assisting healthcare professionals in diagnosing myocardial infarction.
37+
<img width="100%" alt="Confusion Matrices" src="https://github.com/user-attachments/assets/e1e27cde-60a4-497d-af64-7419eba67afc">
38+
39+
<img width="100%" height="500" alt="AUC-ROC curves" src="https://github.com/user-attachments/assets/463ac9de-0f4c-4403-bb5f-c5d68dde4a49">
40+
3741

3842
Future Scope -
3943
Citation - Kachuee, M., Fazeli, S. and Sarrafzadeh, M., 2018, June. Ecg heartbeat classification: A deep transferable representation. In 2018 IEEE international conference on healthcare informatics (ICHI) (pp. 443-444). IEEE.

0 commit comments

Comments
 (0)