secretflow.component.ml.linear#

secretflow.component.ml.linear.ss_sgd#

Functions:

ss_sgd_train_eval_fn(*, ctx, epochs, ...)

This method provides both linear and logistic regression linear models for vertical split dataset setting by using secret sharing with mini batch SGD training solver.

ss_sgd_predict_eval_fn(*, ctx, batch_size, ...)

secretflow.component.ml.linear.ss_sgd.ss_sgd_train_eval_fn(*, ctx, epochs, learning_rate, batch_size, sig_type, reg_type, penalty, l2_norm, eps, x, y, output)[源代码]#

This method provides both linear and logistic regression linear models for vertical split dataset setting by using secret sharing with mini batch SGD training solver. SS-SGD is short for secret sharing SGD training.

secretflow.component.ml.linear.ss_sgd.ss_sgd_predict_eval_fn(*, ctx, batch_size, x, model, y)[源代码]#