Implementation of the distributed version of cGLMM with Homomorphic encryption in R
muti_fe_latest.Rmd
Run Generate_test_data.r to generate two files stands for two clients
require(tcltk) require(svMisc) require(svSocket) library(gmp) library(homomorpheR)
- Lanch Rstudio and set the same fold as working direcotry for both client (Fed_GLMM_client_function.r) and server (Fed_GLMM_server.r).
- Lanch at least 3 session stand for server, client1, and client2 in Rstudio
- At each session, run the corresponding scripts at runFed_GLMM.r
- Run initial_parameters.R to save initial parameters as initial_parameters.RData
- Run generate_keyPair.R to save Homomorphic Key Pair as priv_key.RData, pub_key.RData
- Lanch Rstudio and set the same fold as working direcotry for both client (Fed_GLMM_client_function.r) and server (Fed_GLMM_server.r).
- Lanch at least 3 session stand for server, client1, and client2 in Rstudio
- At each session, run the corresponding scripts at runFed_GLMM.r