FedML-AI / FedML-Mobile

FedML-Mobile: Federated Learning Research Library for Android and iOS Smartphones (supported by FedML framework)

Home Page:https://fedml.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note: An upgraded version is maintained at FedML repo: https://github.com/FedML-AI/FedML/tree/master/android

FedML-Mobile: Federated Learning Research Library for Android and iOS Smartphones (supported by FedML framework)

Installation

http://doc.fedml.ai/#/installation

After the clone of this repository, please run the following command to get FedML submodule to your local.

cd FedML
git submodule init
git submodule update

Update FedML Submodule

cd FedML
git checkout master && git pull
cd ..
git add FedML
git commit -m "updating submodule FedML to latest"
git push

On-device training for Android

This project aims at training NN with non-IID dataset on Android device, involving doing training independently on device and updating NN in server using FedAvg Algorithm.

We published a demo of training a LR model built with Deeplearning4J on Android Studio.

Please check this out: https://github.com/FedML-AI/FedML-Mobile/tree/master/android/fedml-iot-sdk/src/main/java/ai/fedml/iot/service/FedML_client_training_demo

About

FedML-Mobile: Federated Learning Research Library for Android and iOS Smartphones (supported by FedML framework)

https://fedml.ai


Languages

Language:Java 99.5%Language:Shell 0.3%Language:AIDL 0.1%Language:Batchfile 0.1%