def calc_score(self, comps, memb_probs):
    '\n        Calculate global score of fit for comparison with future fits with different\n        component counts\n\n        Parameters\n        ----------\n        :param comps:\n        :param memb_probs:\n        :return:\n\n        TODO: Establish relevance of bg_ln_ols\n        '
    lnlike = expectmax.get_overall_lnlikelihood(self.data_dict, comps, old_memb_probs=memb_probs)
    lnpost = expectmax.get_overall_lnlikelihood(self.data_dict, comps, old_memb_probs=memb_probs, inc_posterior=True)
    bic = expectmax.calc_bic(self.data_dict, self.ncomps, lnlike, memb_probs=memb_probs, Component=self.Component)
    return {'bic': bic, 'lnlike': lnlike, 'lnpost': lnpost}
Calculate global score of fit for comparison with future fits with different
component counts

Parameters
----------
:param comps:
:param memb_probs:
:return:

TODO: Establish relevance of bg_ln_ols
def calc_score(self, comps, memb_probs):
    '\n        Calculate global score of fit for comparison with future fits with different\n        component counts\n\n        Parameters\n        ----------\n        :param comps:\n        :param memb_probs:\n        :return:\n\n        TODO: Establish relevance of bg_ln_ols\n        '
    lnlike = expectmax.get_overall_lnlikelihood(self.data_dict, comps, old_memb_probs=memb_probs)
    lnpost = expectmax.get_overall_lnlikelihood(self.data_dict, comps, old_memb_probs=memb_probs, inc_posterior=True)
    bic = expectmax.calc_bic(self.data_dict, self.ncomps, lnlike, memb_probs=memb_probs, Component=self.Component)
    return {'bic': bic, 'lnlike': lnlike, 'lnpost': lnpost}