示例#1
0
    def __init__(self):
        super(BaseHeteroFeatureBinning, self).__init__()
        self.transfer_variable = HeteroFeatureBinningTransferVariable()
        self.binning_obj = None
        self.header = None
        self.schema = None
        self.host_results = []
        self.transform_type = None

        self.model_param = FeatureBinningParam()
        self.bin_inner_param = BinInnerParam()
示例#2
0
    def __init__(self):
        super(BaseFeatureBinning, self).__init__()
        self.transfer_variable = HeteroFeatureBinningTransferVariable()
        self.binning_obj: BaseBinning = None
        self.header = None
        self.header_anonymous = None
        self.schema = None
        self.host_results = []
        self.transform_type = None

        self.model_param = FeatureBinningParam()
        self.bin_inner_param = BinInnerParam()
        self.bin_result = MultiClassBinResult(labels=[0, 1])
        self.has_missing_value = False
        self.labels = []
示例#3
0
 def __init__(self):
     super(BaseHeteroFeatureBinning, self).__init__()
     self.transfer_variable = HeteroFeatureBinningTransferVariable()
     self.cols = []
     self.cols_dict = {}
     self.binning_obj = None
     self.header = []
     self.schema = {}
     self.has_synchronized = False
     self.flowid = ''
     self.binning_result = {}  # dict of iv_attr
     self.host_results = {}  # dict of host results
     self.party_name = 'Base'
     self.model_param = FeatureBinningParam()
     self.transform_cols_idx = []
     self.transform_type = ''