(self, data_inst)
return self.convert_feature_to_bin(data_inst, self.use_missing)
prepare data: data alignment, and transform feature to bin id
        Args:
            data_inst: training data
        Returns: data_bin, data_split_points, data_sparse_point
prepare data: data alignment, and transform feature to bin id
        Args:
            data_inst: training data
        Returns: data_bin, data_split_points, data_sparse_point
prepare data : data alignment and transform feature to bin id Args : data_inst : training data Returns : data_bin data_split_points data_sparse_point
def prepare_data(self, data_inst):

        """
        prepare data: data alignment, and transform feature to bin id
        Args:
            data_inst: training data
        Returns: data_bin, data_split_points, data_sparse_point
        """
        # to sprase vec
        data_inst = self.data_alignment(data_inst)
        # binning
        return self.convert_feature_to_bin(data_inst, self.use_missing)
def prepare_data ( self , data_inst ) : # to sprase vec data_inst = self . data_alignment ( data_inst ) # binning return self . convert_feature_to_bin ( data_inst , self . use_missing )