def __calculate_theta(z_matrix):
    """

    Calculate the new mixture proportions from the conditional probability matrix.

    :param z_matrix: Conditional probability matrix. (numpy.array)

    :returns: theta: Updated mixture proportions. (numpy.array)

    """
    theta = z_matrix.sum(axis=0) / z_matrix.sum()
    return theta