hetero_linr_conf.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "dsl_version": 2,
  3. "initiator": {
  4. "role": "guest",
  5. "party_id": 10000
  6. },
  7. "role": {
  8. "guest": [
  9. 10000
  10. ],
  11. "host": [
  12. 9999
  13. ]
  14. },
  15. "job_parameters": {
  16. "common": {
  17. "job_type": "train"
  18. }
  19. },
  20. "component_parameters": {
  21. "role": {
  22. "host": {
  23. "0": {
  24. "data_transform_0": {
  25. "with_label": false
  26. },
  27. "reader_0": {
  28. "table": {
  29. "name": "motor_hetero_host",
  30. "namespace": "experiment"
  31. }
  32. }
  33. }
  34. },
  35. "guest": {
  36. "0": {
  37. "data_transform_0": {
  38. "with_label": true,
  39. "label_name": "motor_speed",
  40. "label_type": "float",
  41. "output_format": "dense"
  42. },
  43. "reader_0": {
  44. "table": {
  45. "name": "motor_hetero_guest",
  46. "namespace": "experiment"
  47. }
  48. }
  49. }
  50. }
  51. },
  52. "common": {
  53. "hetero_linr_0": {
  54. "penalty": "L2",
  55. "tol": 0.001,
  56. "alpha": 0.01,
  57. "optimizer": "sgd",
  58. "batch_size": -1,
  59. "learning_rate": 0.15,
  60. "init_param": {
  61. "init_method": "zeros"
  62. },
  63. "max_iter": 20,
  64. "early_stop": "weight_diff",
  65. "decay": 0.0,
  66. "decay_sqrt": false,
  67. "reveal_every_iter": true
  68. },
  69. "evaluation_0": {
  70. "eval_type": "regression",
  71. "pos_label": 1
  72. }
  73. }
  74. }
  75. }