(self, data_inst)
return self.max_values, self.min_values
Get max and min value of each selected columns

        Returns:
            max_values, min_values: dict
            eg. {"x1": 10, "x2": 3, ... }
Get max and min value of each selected columns
Get max and min value of each selected columns
def get_min_max(self, data_inst):
        """
        Get max and min value of each selected columns

        Returns:
            max_values, min_values: dict
            eg. {"x1": 10, "x2": 3, ... }

        """
        if self.max_values and self.min_values:
            return self.max_values, self.min_values
        statistic_obj = MultivariateStatisticalSummary(data_inst,
                                                       cols_index=self.bin_inner_param.bin_indexes,
                                                       abnormal_list=self.abnormal_list,
                                                       error=self.params.error)
        max_values = statistic_obj.get_max()
        min_values = statistic_obj.get_min()
        max_list = [max_values[x] for x in self.bin_inner_param.bin_names]
        min_list = [min_values[x] for x in self.bin_inner_param.bin_names]
        local_min_max_values = (max_list, min_list)
        self.transfer_variable.local_static_values.remote(local_min_max_values,
                                                          suffix=(self.suffix, "min-max"))
        self.max_values, self.min_values = self.transfer_variable.global_static_values.get(
                                        idx=0, suffix=(self.suffix, "min-max"))
        return self.max_values, self.min_values
def get_min_max ( self , data_inst ) : if self . max_values and self . min_values : return self . max_values , self . min_values statistic_obj = MultivariateStatisticalSummary ( data_inst , cols_index = self . bin_inner_param . bin_indexes , abnormal_list = self . abnormal_list , error = self . params . error ) max_values = statistic_obj . get_max ( ) min_values = statistic_obj . get_min ( ) max_list = [ max_values [ x ] for x in self . bin_inner_param . bin_names ] min_list = [ min_values [ x ] for x in self . bin_inner_param . bin_names ] local_min_max_values = ( max_list , min_list ) self . transfer_variable . local_static_values . remote ( local_min_max_values , suffix = ( self . suffix , "min-max" ) ) self . max_values , self . min_values = self . transfer_variable . global_static_values . get ( idx = 0 , suffix = ( self . suffix , "min-max" ) ) return self . max_values , self . min_values