This is the official code from ....
Most of the code is subjetct to GNU license. Files ml_tools.py and ml_models.py are based from this repository and under MIT license (license added in each file).
The datasets that were use are:
- HDFS: .....
- BGL: .....
Current scripts in the repository:
- client_app.py: start a client server.
- server_app.py: start the main server.
To run the code:
- Running server:
python server_app.py --config config_files/hdfs_iid.yaml --method 3-Gram --run_number 0
- Running client:
python client_app.py --config config_files/hdfs_iid.yaml --method 3-Gram --run_number 0 --num_client 0
To run the code:
- Running server:
python server_app.py --config config_files/bgl_no_iid.yaml --method KnowEvents LengthDetection --run_number 0
- Running client:
python client_app.py --config config_files/bgl_no_iid.yaml --method KnowEvents LengthDetection --run_number 0 --num_client 0
Change the arguments inside the script:
sh run_multiple_clients.sh
Current scripts in the repository:
- ml_centralize.py: Run the ml methods as centralize.
- ml_federated_simulation.py: Run the ml methods as federated.
The strategy was created following the flower documentation.