Skip to content

Commit

Permalink
FL_first
Browse files Browse the repository at this point in the history
  • Loading branch information
guang1220 committed May 31, 2022
0 parents commit 8e46e5b
Show file tree
Hide file tree
Showing 59 changed files with 60,974 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/log
/txt_data
/processed_data
/result
/fl_code/logistic/log
/fl_code/svm/log
/fl_code/xgboost/log
/fl_code/mlp/log
/fl_code/randomforest/log

/fl_code/memorandum.py

3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/FL_test.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

sub_path=lib/python3.7/site-packages/flwr/common/parameter.py
root_path=`which python | sed 's@/bin/python@/@g'`
path=$root_path$sub_path

sed -i 's/False/True/g' $path
sed -i '28a\ #tensors = [pickle.dumps(weights)]' $path

## mlp logistic svm gmm
#sed -r -i '28s/#+tensors/tensors/g' $path
#sed -i '29s/tensors/#tensors/g' $path
#
##randomforest xgboost
#sed -r -i '29s/#+tensors/tensors/g' $path
#sed -i '28s/tensors/#tensors/g' $path
8 changes: 8 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
txt_data_dir_path: /home/guoyouguang/PycharmProjects/FL_test/txt_data/

use_data_dir_path: /home/guoyouguang/PycharmProjects/FL_test/processed_data/filter_data/

independent_data_path: /home/guoyouguang/PycharmProjects/FL_test/processed_data/filter_data/independent_data.pkl



28,297 changes: 28,297 additions & 0 deletions data_feature/feature_dict.csv

Large diffs are not rendered by default.

Binary file added data_feature/feature_dict_map.pkl
Binary file not shown.
Loading

0 comments on commit 8e46e5b

Please sign in to comment.