test_hetero_lr_job_conf_advanced.json 1.6 KB

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