This repository investigates the application of machine learning models for predicting brain stroke outcomes, leveraging publicly available datasets. We evaluate the performance of various classification and regression models.
.
├── Charts/
├── Code/
├── Dataset_Target_feature/
├── Dataset_info/
├── Dataset_meta_features/
├── Dataset_processed/
├── Datasets/
├── Preprocessing_code/
├── 'related PDFs'/
├── README.md
└── Results_LITE/
The Code folder contains scripts for all models. The regression models are stored in the reg_models subdirectory, while classification models are located in the clf_models subdirectory.
To run any of the scripts, you need Python installed on your machine along with the following libraries:
joblibscikit-learntimejsonnumpypandasitertoolscopyxgboostmord
You can install all the required libraries using pip with the following command:
pip install joblib scikit-learn time json numpy pandas itertools copy xgboost mord- if you want to run all the models for a given dataset X you can go to the directory
Codeand run the following command:
cd Code
python3 master.py 1in general:
cd Code
python3 master.py number- but if you wanrt to run only a particular model you can do:
cd Code
python3 ./reg_models/Adaboost.py 1 Truein general:
cd Code
python3 ./type/model.py number is_multitarget.........
In the Charts folder, you can find various visualizations of the features from each dataset, including violin plots, histograms, pie charts, and correlation matrices.
This directory contains the original datasets, where the name of the target feature in each dataset has been changed to "Target." These files were used for calculating meta-features.
This folder includes basic information for each dataset. This information is also available in the Documentation.pdf located in the related PDFs folder.
This directory contains different types of meta-features that were calculated, including Basic, Statistical, and Informational Theory metrics on both the original and processed datasets.
Each dataset was manually preprocessed, and the results are stored in this folder.
If you have any questions or need further clarification, please refer to the documentation and the paper located in the related PDFs folder or contact me at dt18806@student.uni-lj.si.