예제 #1
0
 def __init__(self):
     super(HeteroLinRArbiter, self).__init__()
     self.gradient_loss_operator = hetero_linr_gradient_and_loss.Arbiter()
     self.model_param = LinearParam()
     self.n_iter_ = 0
     self.header = None
     self.model_param_name = 'HeteroLinearRegressionParam'
     self.model_meta_name = 'HeteroLinearRegressionMeta'
     self.is_converged = False
     self.mode = consts.HETERO
     self.in_one_vs_rest = False
예제 #2
0
 def __init__(self):
     super(HeteroLinRArbiter, self).__init__()
     self.gradient_loss_operator = hetero_linr_gradient_and_loss.Arbiter()
     self.model_param = LinearParam()
     self.n_iter_ = 0
     self.header = None
     self.model_param_name = 'HeteroLinearRegressionParam'
     self.model_meta_name = 'HeteroLinearRegressionMeta'
     self.model_name = 'HeteroLinearRegression'
     self.is_converged = False
     self.mode = consts.HETERO
     self.need_call_back_loss = True
     self.transfer_variable = HeteroLinRTransferVariable()