psi_model_param_pb2.py 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: psi-model-param.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\x15psi-model-param.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\"k\n\nFeaturePsi\x12\x14\n\x0c\x66\x65\x61ture_name\x18\x01 \x01(\t\x12\x0b\n\x03psi\x18\x02 \x03(\x01\x12\x10\n\x08interval\x18\x03 \x03(\t\x12\x13\n\x0b\x65xpect_perc\x18\x04 \x03(\x01\x12\x13\n\x0b\x61\x63tual_perc\x18\x05 \x03(\x01\"\xf5\x01\n\nPsiSummary\x12W\n\x0btotal_score\x18\x01 \x03(\x0b\x32\x42.com.webank.ai.fate.core.mlmodel.buffer.PsiSummary.TotalScoreEntry\x12G\n\x0b\x66\x65\x61ture_psi\x18\x02 \x03(\x0b\x32\x32.com.webank.ai.fate.core.mlmodel.buffer.FeaturePsi\x12\x12\n\nmodel_name\x18\x03 \x01(\t\x1a\x31\n\x0fTotalScoreEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x42\x1a\x42\x18\x42oostTreeModelParamProtob\x06proto3')
  13. _FEATUREPSI = DESCRIPTOR.message_types_by_name['FeaturePsi']
  14. _PSISUMMARY = DESCRIPTOR.message_types_by_name['PsiSummary']
  15. _PSISUMMARY_TOTALSCOREENTRY = _PSISUMMARY.nested_types_by_name['TotalScoreEntry']
  16. FeaturePsi = _reflection.GeneratedProtocolMessageType('FeaturePsi', (_message.Message,), {
  17. 'DESCRIPTOR' : _FEATUREPSI,
  18. '__module__' : 'psi_model_param_pb2'
  19. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.FeaturePsi)
  20. })
  21. _sym_db.RegisterMessage(FeaturePsi)
  22. PsiSummary = _reflection.GeneratedProtocolMessageType('PsiSummary', (_message.Message,), {
  23. 'TotalScoreEntry' : _reflection.GeneratedProtocolMessageType('TotalScoreEntry', (_message.Message,), {
  24. 'DESCRIPTOR' : _PSISUMMARY_TOTALSCOREENTRY,
  25. '__module__' : 'psi_model_param_pb2'
  26. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.PsiSummary.TotalScoreEntry)
  27. })
  28. ,
  29. 'DESCRIPTOR' : _PSISUMMARY,
  30. '__module__' : 'psi_model_param_pb2'
  31. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.PsiSummary)
  32. })
  33. _sym_db.RegisterMessage(PsiSummary)
  34. _sym_db.RegisterMessage(PsiSummary.TotalScoreEntry)
  35. if _descriptor._USE_C_DESCRIPTORS == False:
  36. DESCRIPTOR._options = None
  37. DESCRIPTOR._serialized_options = b'B\030BoostTreeModelParamProto'
  38. _PSISUMMARY_TOTALSCOREENTRY._options = None
  39. _PSISUMMARY_TOTALSCOREENTRY._serialized_options = b'8\001'
  40. _FEATUREPSI._serialized_start=65
  41. _FEATUREPSI._serialized_end=172
  42. _PSISUMMARY._serialized_start=175
  43. _PSISUMMARY._serialized_end=420
  44. _PSISUMMARY_TOTALSCOREENTRY._serialized_start=371
  45. _PSISUMMARY_TOTALSCOREENTRY._serialized_end=420
  46. # @@protoc_insertion_point(module_scope)