feature-binning-meta.proto 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 = "FeatureBinningMetaProto";
  19. message TransformMeta {
  20. repeated int64 transform_cols = 1;
  21. string transform_type = 2;
  22. }
  23. message FeatureBinningMeta {
  24. bool need_run = 1;
  25. string method = 10;
  26. int64 compress_thres = 2;
  27. int64 head_size = 3;
  28. double error = 4;
  29. int64 bin_num = 5;
  30. repeated string cols = 6;
  31. double adjustment_factor = 7;
  32. bool local_only = 8;
  33. TransformMeta transform_param = 9;
  34. bool skip_static = 11;
  35. string optimal_metric_method = 12;
  36. }