def log_score_comparison(self, prev, new):
    '\n        Purely a logging helper function.\n        Log BIC comparisons.\n\n        Parameters\n        ----------\n        prev: dict\n            A dictinoary of scores from the previous run with the following entries\n            - bic: the Bayesian Information Criterion\n            - lnlike : the log likelihood\n            - lnpost : the log posterior\n        new: dict\n            A dictinoary of scores from the new run, with identical entries as\n            `prev`\n\n        Result\n        ------\n        None\n        '
    if (new['bic'] < prev['bic']):
        logging.info('Extra component has improved BIC...')
        logging.info('New BIC: {} < Old BIC: {}'.format(new['bic'], prev['bic']))
    else:
        logging.info('Extra component has worsened BIC...')
        logging.info('New BIC: {} > Old BIC: {}'.format(new['bic'], prev['bic']))
    logging.info('lnlike: {} | {}'.format(new['lnlike'], prev['lnlike']))
    logging.info('lnpost: {} | {}'.format(new['lnpost'], prev['lnpost']))
Purely a logging helper function.
Log BIC comparisons.

Parameters
----------
prev: dict
    A dictinoary of scores from the previous run with the following entries
    - bic: the Bayesian Information Criterion
    - lnlike : the log likelihood
    - lnpost : the log posterior
new: dict
    A dictinoary of scores from the new run, with identical entries as
    `prev`

Result
------
None
def log_score_comparison(self, prev, new):
    '\n        Purely a logging helper function.\n        Log BIC comparisons.\n\n        Parameters\n        ----------\n        prev: dict\n            A dictinoary of scores from the previous run with the following entries\n            - bic: the Bayesian Information Criterion\n            - lnlike : the log likelihood\n            - lnpost : the log posterior\n        new: dict\n            A dictinoary of scores from the new run, with identical entries as\n            `prev`\n\n        Result\n        ------\n        None\n        '
    if (new['bic'] < prev['bic']):
        logging.info('Extra component has improved BIC...')
        logging.info('New BIC: {} < Old BIC: {}'.format(new['bic'], prev['bic']))
    else:
        logging.info('Extra component has worsened BIC...')
        logging.info('New BIC: {} > Old BIC: {}'.format(new['bic'], prev['bic']))
    logging.info('lnlike: {} | {}'.format(new['lnlike'], prev['lnlike']))
    logging.info('lnpost: {} | {}'.format(new['lnpost'], prev['lnpost']))