Guest User

Untitled

a guest
Jun 19th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. {
  2. "type" : "record",
  3. "name" : "TrainingExample",
  4. "namespace" : "com.linkedin.metronome.avro.generated",
  5. "fields" : [ {
  6. "name" : "uid",
  7. "type" : [ "null", "string", "long", "int" ],
  8. "doc" : "a unique id for the training event",
  9. "default" : null
  10. }, {
  11. "name" : "label",
  12. "type" : [ "double"],
  13. "doc" : "label/response of the event"
  14. }, {
  15. "name" : "grouping",
  16. "type" : [ "string" ],
  17. "doc" : "The store grouping"
  18. }, {
  19. "name" : "fixedfeatures",
  20. "type" : {
  21. "type" : "array",
  22. "items" : {
  23. "type" : "record",
  24. "name" : "FixedFeature",
  25. "doc" : "a feature is a named numeric value",
  26. "fields" : [ {
  27. "name" : "name",
  28. "type" : "string"
  29. }, {
  30. "name" : "value",
  31. "type" : "double"
  32. }, {
  33. "name" : "term",
  34. "type" : [ "null", "string" ],
  35. "default" : null
  36. } ]
  37. }
  38. },
  39. "doc" : "fixed effects features describing the event"
  40. }, {
  41. "name" : "randomfeatures",
  42. "type" : {
  43. "type" : "array",
  44. "items" : {
  45. "type" : "record",
  46. "name" : "RandomFeature",
  47. "doc" : "a feature is a named numeric value",
  48. "fields" : [ {
  49. "name" : "name",
  50. "type" : "string"
  51. }, {
  52. "name" : "value",
  53. "type" : "double"
  54. }, {
  55. "name" : "term",
  56. "type" : [ "null", "string" ],
  57. "default" : null
  58. } ]
  59. }
  60. },
  61. "doc" : "random effects features describing the event"
  62. },{
  63. "name" : "metadataMap",
  64. "type" : [ "null", {
  65. "type" : "map",
  66. "values" : [ "boolean", "int", "long", "float", "double", "string" ]
  67. } ],
  68. "doc" : "optional field. allows attaching arbitrary non-feature metadata to each event",
  69. "default" : null
  70. }, {
  71. "name" : "weight",
  72. "type" : [ "null", "int", "long", "float", "double" ],
  73. "doc" : "optional field. specifies strength of observation",
  74. "default" : null
  75. }, {
  76. "name" : "offset",
  77. "type" : [ "null", "int", "long", "float", "double" ],
  78. "doc" : "optional field. when non-zero, admm will learn coefficient betas with the added offset",
  79. "default" : null
  80. } ]
  81. }
Add Comment
Please, Sign In to add comment