This repository contains the code for the Ischemic Heart Disease Detection project. The main goal of this project is to develop a predictive model for detecting Ischemic Heart Disease based on various features.
Ischemic_detection.ipynb
: Jupyter Notebook file containing the Python code for the project.ischemia.txt
: Text file containing the dataset used for training and testing.
The Ischemic_detection.ipynb
notebook provides the implementation for the Ischemic Heart Disease Detection project. It includes the following steps:
- Data Reading: The dataset is read into the notebook.
- Data Preprocessing: The data is preprocessed, including handling missing values and factorizing specific columns.
- Feature Visualization: Histograms are plotted to visualize the distributions of selected features.
- Train-Test Split: The data is split into training and testing sets.
- Addressing Class Imbalance: Oversampling techniques are applied to solve the imbalance problem.
- Model Training: Various ML methods are trained, and meta-parameters are tuned using cross-validation.
- Model Evaluation: The trained models are evaluated, and performance metrics such as accuracy are reported.
- Result Visualization: The features are visualized using scatter plots, and the results are displayed.
The project requires the following packages:
- numpy
- pandas
- sklearn
- scipy
- seaborn
- matplotlib
- imblearn
Make sure to install these packages before running the notebook.
To run the project:
- Clone or download this repository.
- Open the
Ischemic_detection.ipynb
notebook in Jupyter Notebook. - Run each cell in the notebook to execute the code.
- Customize the code as needed for your specific use case or dataset.
Please refer to the notebook for detailed implementation and explanations. If you have any questions or need further assistance, feel free to reach out.
This project is licensed under the MIT License.