pub fn vote_entropy(
votes: &[usize],
n_classes: usize,
) -> Result<f64, ActiveError>Expand description
Vote entropy over hard votes: entropy of the distribution of committee votes
across n_classes. Maximal when the committee splits evenly. votes are class
indices, one per member.