[][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, RandomState> where
    K: Eq + Hash + Clone
[src]

type AsProbabilities = HashMap<K, SymbolInfo, RandomState>

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...