def account_unk_gmm(samp_pred):
    """Account for unknown proportion after one step GMM source prediction

    Args:
        samp_pred(dict): dictionnary of samples class probability predictions
            {samp: {class: proba}}
    Returns:
        pandas DataFrame: sourcepredict sample proba predictions
            with unknown accounted for
    """
    for sample in samp_pred:
        smp_tot = 0
        for source in samp_pred[sample]:
            smp_tot += samp_pred[sample][source]
        samp_pred[sample]['unknown'] = 1 - smp_tot
    return samp_pred
