[][src]Trait binjs_io::entropy::probabilities::InstancesToProbabilities

pub trait InstancesToProbabilities {
    type AsProbabilities;
    fn instances_to_probabilities(
        &self,
        description: &str
    ) -> Self::AsProbabilities; }

A structure that may be converted into a probability distribution or a set of probability distributions.

Associated Types

type AsProbabilities

Loading content...

Required methods

fn instances_to_probabilities(&self, description: &str) -> Self::AsProbabilities

Loading content...

Implementations on Foreign Types

impl<K> InstancesToProbabilities for HashMap<K, FilesContaining> where
    K: Eq + Hash + Clone
[src]

type AsProbabilities = HashMap<K, SymbolInfo>

Loading content...

Implementors

impl InstancesToProbabilities for Dictionary<Instances>[src]

type AsProbabilities = Dictionary<SymbolInfo>

fn instances_to_probabilities(
    &self,
    _description: &str
) -> Dictionary<SymbolInfo>
[src]

Convert a dictionary counting instances into a dictionary that counts probabilities.

impl InstancesToProbabilities for DictionaryFamily<Instances>[src]

Loading content...