test_ftl_conf.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "dsl_version": 2,
  3. "initiator": {
  4. "role": "guest",
  5. "party_id": 9999
  6. },
  7. "role": {
  8. "host": [
  9. 9998
  10. ],
  11. "guest": [
  12. 9999
  13. ]
  14. },
  15. "component_parameters": {
  16. "common": {
  17. "hetero_ftl_0": {
  18. "epochs": 10,
  19. "alpha": 1,
  20. "batch_size": -1,
  21. "mode": "plain",
  22. "optimizer": {
  23. "learning_rate": 0.01,
  24. "decay": 0.0,
  25. "beta_1": 0.9,
  26. "beta_2": 0.999,
  27. "epsilon": 1e-07,
  28. "amsgrad": false,
  29. "optimizer": "Adam"
  30. },
  31. "nn_define": {
  32. "class_name": "Sequential",
  33. "config": {
  34. "name": "sequential",
  35. "layers": [
  36. {
  37. "class_name": "Dense",
  38. "config": {
  39. "name": "dense",
  40. "trainable": true,
  41. "dtype": null,
  42. "units": 32,
  43. "activation": "sigmoid",
  44. "use_bias": true,
  45. "kernel_initializer": {
  46. "class_name": "RandomNormal",
  47. "config": {
  48. "mean": 0.0,
  49. "stddev": 1.0,
  50. "seed": null,
  51. "dtype": "float32"
  52. }
  53. },
  54. "bias_initializer": {
  55. "class_name": "Zeros",
  56. "config": {
  57. "dtype": "float32"
  58. }
  59. },
  60. "kernel_regularizer": null,
  61. "bias_regularizer": null,
  62. "activity_regularizer": null,
  63. "kernel_constraint": null,
  64. "bias_constraint": null
  65. }
  66. }
  67. ]
  68. },
  69. "keras_version": "2.2.4-tf",
  70. "backend": "tensorflow"
  71. },
  72. "config_type": "keras"
  73. },
  74. "evaluation_0": {
  75. "eval_type": "binary"
  76. }
  77. },
  78. "role": {
  79. "guest": {
  80. "0": {
  81. "data_transform_0": {
  82. "with_label": true,
  83. "output_format": "dense"
  84. },
  85. "reader_0": {
  86. "table": {
  87. "name": "nus_wide_guest",
  88. "namespace": "experiment"
  89. }
  90. }
  91. }
  92. },
  93. "host": {
  94. "0": {
  95. "data_transform_0": {
  96. "with_label": false
  97. },
  98. "reader_0": {
  99. "table": {
  100. "name": "nus_wide_host",
  101. "namespace": "experiment"
  102. }
  103. }
  104. }
  105. }
  106. }
  107. }
  108. }