Get desktop application:
View/edit binary Protocol Buffers messages
This message denotes the decision tree builder parameters
Used in: ,
type of the tree, 'classification' or 'regression'
the function to measure the quality of a split 'gini' or 'entropy'
the strategy used to choose a split at each node, 'best' or 'random'
the number of classes in the dataset, if regression, set to 1
the maximum depth of the tree
the maximum number of bins to split a feature
the minimum number of samples required to split an internal node
the minimum number of samples required to be at a leaf node
the maximum number of leaf nodes
a node will be split if this split induces a decrease of impurity >= this value
threshold for early stopping in tree growth
differential privacy (DP) budget, 0 denotes not use DP
This message is used when transmitting the training labels and testing labels
Used in:
This message is used when transmitting the training data and testing data
Used in: ,
Used in:
Used in:
encrypted stat for each branch of each class
client id
node index
total split num on a client
classes_num * 2 (if regression, classes_num = 2)
sample_nums of left branch of total splits
sample_nums of right branch of total splits
two-dimensional encrypted statistics
This message denotes the feature selection parameters
number of samples generated or selected
feature selection method,
selected features to be saved
This message is used to serialize an EncodedNumber value
Used in: , , , , ,
maximum value
encoded value
fixed point precision
value type
ensemble tree model: random forest
the number of estimator stored
the model type: classification or regression
the stored trees
ensemble tree model: gbdt
the number of total trees stored, n_estimator * class_num
the model type: classification or regression
the number of estimator for gbdt model
the number of classes, 1 for regression
the shrinkage rate during the training
the dummy predictors for the trees
the stored trees
This message denotes the gradient boosting decision tree builder parameters
number of estimators (note that the number of total trees in the model does not necessarily equal to the number of estimators for classification)
loss function to be optimized
learning rate shrinks the contribution of each tree
the fraction of samples to be used for fitting individual base learners default 1.0, reserved here for future usage
decision tree builder params (note that the tree type here may be changed when building the gbdt model as they are all regression trees in gbdt)
This message is used when initializing the training data and testing data, as well as transmitting batch ids in each training iteration
Used in:
the number of inputs for each neuron in this layer in fact, it is the number of neurons (number of outputs) of the previous layer
the number of outputs for this layer
whether the neurons of this layer have bias (default true)
the activation function string
the weight matrix, encrypted values during training, dimension = (m_num_inputs, m_num_outputs)
the bias vector, encrypted values during training, dimension = m_num_outputs
This message denotes the LIME interpretability compute predictions parameters
vertical original model name
vertical original model saved file
generated samples save file
type of model task, 'regression' or 'classification'
number of classes in classification, set to 1 if regression
prediction save file
This message denotes the compute sample weights parameters
the instance index for explain
generated samples save file
prediction save file
whether it is pre-computed
number of samples to be generated or selected
number of classes in classification, set to 1 if regression
the metric for computing the distance, only "euclidean"
kernel, similarity kernel that takes euclidean distances and kernel width as input and outputs weights in (0,1). If not specified, default is exponential kernel
width for the kernel
sample weights file to be saved
selected samples to be saved if is_precompute = true
selected predictions to be saved if is_precompute = true
This message denotes the LIME feature selection parameters
selected samples file
selected predictions file
the sample weights file
number of samples generated or selected
number of classes in classification, set to 1 if regression
the label id to be explained
feature selection method, current options are 'pearson', 'lasso_path',
feature selection model params, should be serialized LinearRegressionParams or null for pearson
number of features to be explained in the interpret model
selected features to be saved
This message denotes the LIME interpret model training parameters
selected data file, either selected_samples_file or selected_features_file
selected predictions saved
sample weights file saved
number of samples generated or selected
number of classes in classification, set to 1 if regression
the label id to be explained
interpretable model name, linear_regression or decision_tree
interpretable model params, should be serialized LinearRegressionParams or DecisionTreeParams
explanation report
This message denotes the LIME interpretability sampling parameters
the instance index for explain
whether sampling around the above instance
number of total samples to be generated
the sampling method, now only support "gaussian"
generated samples save file
This message denotes the linear regression parameters
batch size in each iteration
maximum number of iterations for training
tolerance of convergence
whether use regularization or not
regularization parameter
learning rate for parameter updating
decay rate for learning rate, following lr = lr0 / (1 + decay*t), t is #iteration
penalty method used, 'l1' or 'l2', default l2, currently support 'l2'
optimization method, default 'sgd', currently support 'sgd'
evaluation metric for training and testing, 'mse'
differential privacy budget
whether to fit the bias the term
This message denotes the logistic regression parameters
batch size in each iteration
maximum number of iterations for training
tolerance of convergence
whether use regularization or not
regularization parameter
learning rate for parameter updating
decay rate for learning rate, following lr = lr0 / (1 + decay*t), t is #iteration
penalty method used, 'l1' or 'l2', default l2, currently support 'l2'
optimization method, default 'sgd', currently support 'sgd'
strategy for handling multi-class classification, default 'ovr', currently support 'ovr'
evaluation metric for training and testing, 'acc', 'auc', or 'ks', currently support 'acc'
differential privacy budget
whether to fit the bias the term
model weight size
model weights vector
whether classification or regression
the number of inputs (input layer size)
the number of outputs (output layer size)
the number of hidden_layers
the number of neurons in each layer
the vector of layers
the number of layers
This message denotes the multi-layer perceptron builder parameters
whether classification or regression
size of mini-batch in each iteration
maximum number of iterations for training
tolerance of convergence
whether use regularization or not
regularization parameter
learning rate for parameter updating
decay rate for learning rate, following lr = lr0 / (1 + decay*t), t is #iteration
penalty method used, 'l1' or 'l2', default l2, currently support 'l2'
optimization method, default 'sgd', currently support 'sgd'
evaluation metric for training and testing, 'mse'
differential privacy (DP) budget, 0 denotes not use DP
whether to fit the bias term
the number of neurons in each layer
the vector of layers activation functions
ips of different parties
an array of executor to executor PortArray
PortArray for executor to mpc ports
store the tree model on disk
Used in:
node type, default is internal node
the depth of the current node, root node is 0, -1: not decided
if the node belongs to the party itself, 0: no, 1: yes, -1: not decided
the party that owns the selected feature on this node, -1: not decided
the feature on this node, -1: not self feature, 0 -- d_i: self feature id
the split of the feature on this node, -1: not decided
the split threshold if it is its own feature
the number of samples where the element in sample_iv is [1]
the number of samples for each class on the node
node impurity, Gini index for classification, variance for regression
if is_leaf is true, a label is assigned
left branch id of the current node, if not a leaf node, -1: not decided
right branch id of the current node, if not a leaf node, -1: not decided
client who sends the message
client owns the best split in the current node, should be same as first parameter
best feature id on the best_client_id
best split id for the best_feature_id
impurity of the left child node
impurity of the right child node
sample iv of the left child node
sample iv of the right child node
other workers will send requests to this address
Used in:
ip of parameter server
port of parameter server
one ps and many workers,
an array of followers
ps information, ps need multiple port where each is corresponding to one worker
Used in:
ports of each part
This message denotes the random forest builder parameters
number of trees in the forest
sample rate for each tree in the forest
decision tree builder params
total split num of all clients
split_num of each client
decision tree model
Used in: ,
classification or regression
number of classes if classification
maximum tree depth
array of Node
internal node count
total node count
tree capacity
ps will read those and send message to the worker address
Used in:
ip of follower
port of follower