MELODY is a project funded under the DARE UK Real World Exemplar Programme. The aim of the project is to develop and test federated machine learning approaches for dermatology research using clinical images from NHS Tayside and Oxford University Hospitals. By training AI models across multiple TREs without centralising data, the project aims to support the development of more inclusive and representative dermatology AI systems.
MELODY uses the Flower Framework to enable federated machine learning (FML). Details on how to set up a Flower network are detailed in the Flower.AI Setup document.
MELODY uses a custom wrapper around the existing flwr tooling to provide
- Enhanced auditing
- Information to improve TRE/SDE Egress
The MELODY cli tool is available from the Release section of this Github repo. It is built as a linux standalone application, and can be used simply by running
./cli
To maximise the benefit of the MELODY cli, there are several configuration options to set up:
RO-Crates are a method to package up your ML jobs with their metadata. To set up RO-Crates to work with MELODY:
- Create a .toml config file with your RO-Crate details See the sample config example for more details.
- When you next run a MELODY job, an RO-Crate will be generated detailing everything about the run.
MELODY provides advanced logging for FML jobs. These logs are automatically generated and stored in ~/.mldy/melody.log This can be overwiitten via the config file.
We welcome contributions. Please see our contributing guide to get started.