(self, attr, thres)
return self._corr_attrs[(attr, thres)]
get_corr_attributes returns attributes from self.correlations
        that are correlated with attr with magnitude at least self.cor_strength
        (init parameter).

        :param attr: (string) the original attribute to get the correlated attributes for.
        :param thres: (float) correlation threshold (absolute) for returned attributes.
get_corr_attributes returns attributes from self.correlations
        that are correlated with attr with magnitude at least self.cor_strength
        (init parameter).
get_corr_attributes returns attributes from self . correlations that are correlated with attr with magnitude at least self . cor_strength ( init parameter ) .
def get_corr_attributes(self, attr, thres):
        """
        get_corr_attributes returns attributes from self.correlations
        that are correlated with attr with magnitude at least self.cor_strength
        (init parameter).

        :param attr: (string) the original attribute to get the correlated attributes for.
        :param thres: (float) correlation threshold (absolute) for returned attributes.
        """
        # Not memoized: find correlated attributes from correlation dictionary.
        if (attr, thres) not in self._corr_attrs:
            self._corr_attrs[(attr, thres)] = []

            if attr in self.correlations:
                attr_correlations = self.correlations[attr]
                self._corr_attrs[(attr, thres)] = sorted([corr_attr
                                                   for corr_attr, corr_strength in attr_correlations.items()
                                                   if corr_attr != attr and corr_strength > thres])

        return self._corr_attrs[(attr, thres)]
def get_corr_attributes ( self , attr , thres ) : # Not memoized: find correlated attributes from correlation dictionary. if ( attr , thres ) not in self . _corr_attrs : self . _corr_attrs [ ( attr , thres ) ] = [ ] if attr in self . correlations : attr_correlations = self . correlations [ attr ] self . _corr_attrs [ ( attr , thres ) ] = sorted ( [ corr_attr for corr_attr , corr_strength in attr_correlations . items ( ) if corr_attr != attr and corr_strength > thres ] ) return self . _corr_attrs [ ( attr , thres ) ]