def get_cluster_logpdf_score(view, k):
    """Return marginal likelihood of cluster k in View (0 for fresh cluster)."""
    return sum([
        d.clusters[k].logpdf_score() for d in view.dims.itervalues()
    ]) if k in view.crp.clusters[0].counts else 0