lr-model-meta.proto 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright 2019 The FATE Authors. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. syntax = "proto3";
  17. package com.webank.ai.fate.core.mlmodel.buffer;
  18. option java_outer_classname = "LRModelMetaProto";
  19. message PredictMeta {
  20. double threshold = 1;
  21. }
  22. message LRModelMeta {
  23. string penalty = 1;
  24. double tol = 2;
  25. double alpha = 3;
  26. string optimizer = 4;
  27. double party_weight = 5;
  28. int64 batch_size = 6;
  29. double learning_rate = 7;
  30. int64 max_iter = 8;
  31. string early_stop = 9;
  32. int64 re_encrypt_batches = 10;
  33. bool fit_intercept=11;
  34. bool need_one_vs_rest = 12;
  35. PredictMeta predict_param = 13;
  36. string reveal_strategy = 14;
  37. string module = 15;
  38. }