test_multi_pipeline_conf_advanced.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {
  2. "dsl_version": "2",
  3. "initiator": {
  4. "role": "guest",
  5. "party_id": 9999
  6. },
  7. "role": {
  8. "guest": [
  9. 9999
  10. ],
  11. "host": [
  12. 10000
  13. ],
  14. "arbiter": [
  15. 10000
  16. ]
  17. },
  18. "job_parameters": {
  19. "common": {
  20. "task_parallelism": 2,
  21. "computing_partitions": 8,
  22. "task_cores": 4,
  23. "spark_run": {
  24. "num-executors": 1,
  25. "executor-cores": 2
  26. }
  27. }
  28. },
  29. "component_parameters": {
  30. "common": {
  31. "federated_sample_0": {
  32. "mode": "stratified",
  33. "method": "upsample",
  34. "fractions": [
  35. [
  36. 0,
  37. 1.5
  38. ],
  39. [
  40. 1,
  41. 2.0
  42. ]
  43. ]
  44. },
  45. "hetero_lr_0": {
  46. "penalty": "L2",
  47. "optimizer": "rmsprop",
  48. "alpha": 0.01,
  49. "max_iter": 3,
  50. "batch_size": 320,
  51. "learning_rate": 0.15,
  52. "init_param": {
  53. "init_method": "random_uniform"
  54. }
  55. },
  56. "hetero_lr_1": {
  57. "penalty": "L2",
  58. "optimizer": "rmsprop",
  59. "alpha": 0.01,
  60. "max_iter": 3,
  61. "batch_size": 320,
  62. "learning_rate": 0.15,
  63. "init_param": {
  64. "init_method": "random_uniform"
  65. },
  66. "cv_param": {
  67. "n_splits": 2,
  68. "shuffle": true,
  69. "random_seed": 103,
  70. "need_cv": true
  71. }
  72. },
  73. "hetero_secureboost_0": {
  74. "cv_param": {
  75. "n_splits": 2,
  76. "need_cv": true,
  77. "shuffle": false
  78. },
  79. "num_trees": 3
  80. },
  81. "hetero_secureboost_1": {
  82. "num_trees": 2
  83. }
  84. },
  85. "role": {
  86. "guest": {
  87. "0": {
  88. "reader_0": {
  89. "table": {
  90. "name": "breast_hetero_guest",
  91. "namespace": "experiment"
  92. }
  93. },
  94. "data_transform_0": {
  95. "with_label": true,
  96. "label_name": "y",
  97. "label_type": "int",
  98. "output_format": "dense",
  99. "missing_fill": true,
  100. "outlier_replace": true
  101. }
  102. }
  103. },
  104. "host": {
  105. "0": {
  106. "reader_0": {
  107. "table": {
  108. "name": "breast_hetero_host",
  109. "namespace": "experiment"
  110. }
  111. },
  112. "data_transform_0": {
  113. "with_label": false,
  114. "output_format": "dense",
  115. "outlier_replace": true
  116. }
  117. }
  118. }
  119. }
  120. }
  121. }