boosting_tree_model_meta_pb2.py 5.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: boosting-tree-model-meta.proto
  4. """Generated protocol buffer code."""
  5. from google.protobuf import descriptor as _descriptor
  6. from google.protobuf import descriptor_pool as _descriptor_pool
  7. from google.protobuf import message as _message
  8. from google.protobuf import reflection as _reflection
  9. from google.protobuf import symbol_database as _symbol_database
  10. # @@protoc_insertion_point(imports)
  11. _sym_db = _symbol_database.Default()
  12. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x62oosting-tree-model-meta.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\"1\n\rObjectiveMeta\x12\x11\n\tobjective\x18\x01 \x01(\t\x12\r\n\x05param\x18\x02 \x03(\x01\"B\n\rCriterionMeta\x12\x18\n\x10\x63riterion_method\x18\x01 \x01(\t\x12\x17\n\x0f\x63riterion_param\x18\x02 \x03(\x01\"\xf4\x01\n\x15\x44\x65\x63isionTreeModelMeta\x12M\n\x0e\x63riterion_meta\x18\x01 \x01(\x0b\x32\x35.com.webank.ai.fate.core.mlmodel.buffer.CriterionMeta\x12\x11\n\tmax_depth\x18\x02 \x01(\x05\x12\x18\n\x10min_sample_split\x18\x03 \x01(\x05\x12\x1a\n\x12min_impurity_split\x18\x04 \x01(\x01\x12\x15\n\rmin_leaf_node\x18\x05 \x01(\x05\x12\x13\n\x0buse_missing\x18\x06 \x01(\x08\x12\x17\n\x0fzero_as_missing\x18\x07 \x01(\x08\"8\n\x0cQuantileMeta\x12\x17\n\x0fquantile_method\x18\x01 \x01(\t\x12\x0f\n\x07\x62in_num\x18\x02 \x01(\x05\"\xd5\x03\n\x15\x42oostingTreeModelMeta\x12P\n\ttree_meta\x18\x01 \x01(\x0b\x32=.com.webank.ai.fate.core.mlmodel.buffer.DecisionTreeModelMeta\x12\x15\n\rlearning_rate\x18\x02 \x01(\x01\x12\x11\n\tnum_trees\x18\x03 \x01(\x05\x12K\n\rquantile_meta\x18\x04 \x01(\x0b\x32\x34.com.webank.ai.fate.core.mlmodel.buffer.QuantileMeta\x12M\n\x0eobjective_meta\x18\x05 \x01(\x0b\x32\x35.com.webank.ai.fate.core.mlmodel.buffer.ObjectiveMeta\x12\x11\n\ttask_type\x18\x06 \x01(\t\x12\x18\n\x10n_iter_no_change\x18\x07 \x01(\x08\x12\x0b\n\x03tol\x18\x08 \x01(\x01\x12\x13\n\x0buse_missing\x18\t \x01(\x08\x12\x17\n\x0fzero_as_missing\x18\n \x01(\x08\x12\x11\n\twork_mode\x18\x0b \x01(\t\x12\x0e\n\x06module\x18\x0c \x01(\t\x12\x19\n\x11\x62oosting_strategy\x18\r \x01(\t\"w\n\x0fTransformerMeta\x12P\n\ttree_meta\x18\x01 \x01(\x0b\x32=.com.webank.ai.fate.core.mlmodel.buffer.BoostingTreeModelMeta\x12\x12\n\nmodel_name\x18\x02 \x01(\tB\x19\x42\x17\x42oostTreeModelMetaProtob\x06proto3')
  13. _OBJECTIVEMETA = DESCRIPTOR.message_types_by_name['ObjectiveMeta']
  14. _CRITERIONMETA = DESCRIPTOR.message_types_by_name['CriterionMeta']
  15. _DECISIONTREEMODELMETA = DESCRIPTOR.message_types_by_name['DecisionTreeModelMeta']
  16. _QUANTILEMETA = DESCRIPTOR.message_types_by_name['QuantileMeta']
  17. _BOOSTINGTREEMODELMETA = DESCRIPTOR.message_types_by_name['BoostingTreeModelMeta']
  18. _TRANSFORMERMETA = DESCRIPTOR.message_types_by_name['TransformerMeta']
  19. ObjectiveMeta = _reflection.GeneratedProtocolMessageType('ObjectiveMeta', (_message.Message,), {
  20. 'DESCRIPTOR' : _OBJECTIVEMETA,
  21. '__module__' : 'boosting_tree_model_meta_pb2'
  22. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.ObjectiveMeta)
  23. })
  24. _sym_db.RegisterMessage(ObjectiveMeta)
  25. CriterionMeta = _reflection.GeneratedProtocolMessageType('CriterionMeta', (_message.Message,), {
  26. 'DESCRIPTOR' : _CRITERIONMETA,
  27. '__module__' : 'boosting_tree_model_meta_pb2'
  28. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.CriterionMeta)
  29. })
  30. _sym_db.RegisterMessage(CriterionMeta)
  31. DecisionTreeModelMeta = _reflection.GeneratedProtocolMessageType('DecisionTreeModelMeta', (_message.Message,), {
  32. 'DESCRIPTOR' : _DECISIONTREEMODELMETA,
  33. '__module__' : 'boosting_tree_model_meta_pb2'
  34. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.DecisionTreeModelMeta)
  35. })
  36. _sym_db.RegisterMessage(DecisionTreeModelMeta)
  37. QuantileMeta = _reflection.GeneratedProtocolMessageType('QuantileMeta', (_message.Message,), {
  38. 'DESCRIPTOR' : _QUANTILEMETA,
  39. '__module__' : 'boosting_tree_model_meta_pb2'
  40. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.QuantileMeta)
  41. })
  42. _sym_db.RegisterMessage(QuantileMeta)
  43. BoostingTreeModelMeta = _reflection.GeneratedProtocolMessageType('BoostingTreeModelMeta', (_message.Message,), {
  44. 'DESCRIPTOR' : _BOOSTINGTREEMODELMETA,
  45. '__module__' : 'boosting_tree_model_meta_pb2'
  46. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.BoostingTreeModelMeta)
  47. })
  48. _sym_db.RegisterMessage(BoostingTreeModelMeta)
  49. TransformerMeta = _reflection.GeneratedProtocolMessageType('TransformerMeta', (_message.Message,), {
  50. 'DESCRIPTOR' : _TRANSFORMERMETA,
  51. '__module__' : 'boosting_tree_model_meta_pb2'
  52. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.TransformerMeta)
  53. })
  54. _sym_db.RegisterMessage(TransformerMeta)
  55. if _descriptor._USE_C_DESCRIPTORS == False:
  56. DESCRIPTOR._options = None
  57. DESCRIPTOR._serialized_options = b'B\027BoostTreeModelMetaProto'
  58. _OBJECTIVEMETA._serialized_start=74
  59. _OBJECTIVEMETA._serialized_end=123
  60. _CRITERIONMETA._serialized_start=125
  61. _CRITERIONMETA._serialized_end=191
  62. _DECISIONTREEMODELMETA._serialized_start=194
  63. _DECISIONTREEMODELMETA._serialized_end=438
  64. _QUANTILEMETA._serialized_start=440
  65. _QUANTILEMETA._serialized_end=496
  66. _BOOSTINGTREEMODELMETA._serialized_start=499
  67. _BOOSTINGTREEMODELMETA._serialized_end=968
  68. _TRANSFORMERMETA._serialized_start=970
  69. _TRANSFORMERMETA._serialized_end=1089
  70. # @@protoc_insertion_point(module_scope)