Code for the paper: To run the code You will need to have the following installed in respective devices. The python File named with FL with XAI(server) contains code for the server. And the python File named with FL with XAI(clients) contains code for the clients. Server: Tensorflow, MLsocket, Python <2.7 and the imports in the file. Client (customized for rasberry-Pi): Tensorflow for rasberry pi, keras, and all other imports in the code. Note: Different models of rasberry-pi may require customized changes. XAI module can be called in both server and the clients, You need to call the respective function. Link for the dataset: https://physionet.org/content/mitdb/1.0.0/
When using this resource, please cite the original publication: https://doi.org/10.1016/j.knosys.2021.107763. or Raza, A., Tran, K. P., Koehl, L., & Li, S. (2021). Designing ECG Monitoring Healthcare System with Federated Transfer Learning and Explainable AI. arXiv preprint arXiv:2105.12497.