12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- syntax = "proto3";
- package com.webank.ai.fate.core.mlmodel.buffer;
- option java_outer_classname = "LRModelParamProto";
- import "sshe-cipher-param.proto";
- message LRModelParam {
- int32 iters = 1;
- repeated double loss_history = 2;
- bool is_converged = 3;
- map<string, double> weight = 4;
- double intercept = 5;
- repeated string header = 6;
- OneVsRestResult one_vs_rest_result = 7;
- bool need_one_vs_rest = 8;
- int32 best_iteration = 9;
- map<string, CipherText> encrypted_weight = 10;
- Cipher cipher = 11;
- }
- message SingleModel {
- int32 iters = 1;
- repeated double loss_history = 2;
- bool is_converged = 3;
- map<string, double> weight = 4;
- double intercept = 5;
- repeated string header = 6;
- int32 best_iteration = 7;
- map<string, CipherText> encrypted_weight = 8;
- Cipher cipher = 9;
- }
- message OneVsRestResult {
- repeated SingleModel completed_models = 1;
- repeated string one_vs_rest_classes = 2;
- }
|