test_hetero_lr_job_conf.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. "auto_retries": 1
  24. }
  25. },
  26. "component_parameters": {
  27. "common": {
  28. "intersection_0": {
  29. "intersect_method": "raw",
  30. "sync_intersect_ids": true,
  31. "only_output_key": false
  32. },
  33. "hetero_lr_0": {
  34. "penalty": "L2",
  35. "optimizer": "rmsprop",
  36. "alpha": 0.01,
  37. "max_iter": 3,
  38. "batch_size": 320,
  39. "learning_rate": 0.15,
  40. "init_param": {
  41. "init_method": "random_uniform"
  42. }
  43. }
  44. },
  45. "role": {
  46. "guest": {
  47. "0": {
  48. "reader_0": {
  49. "table": {
  50. "name": "breast_hetero_guest",
  51. "namespace": "experiment"
  52. }
  53. },
  54. "data_transform_0": {
  55. "with_label": true,
  56. "label_name": "y",
  57. "label_type": "int",
  58. "output_format": "dense"
  59. }
  60. }
  61. },
  62. "host": {
  63. "0": {
  64. "reader_0": {
  65. "table": {
  66. "name": "breast_hetero_host",
  67. "namespace": "experiment"
  68. }
  69. },
  70. "data_transform_0": {
  71. "with_label": false,
  72. "output_format": "dense"
  73. },
  74. "evaluation_0": {
  75. "need_run": false
  76. }
  77. }
  78. }
  79. }
  80. }
  81. }