[−][src]Trait binjs_io::entropy::probabilities::InstancesToProbabilities
A structure that may be converted into a probability distribution or a set of probability distributions.
Associated Types
type AsProbabilities
Required methods
fn instances_to_probabilities(&self, description: &str) -> Self::AsProbabilities
Implementations on Foreign Types
impl<K> InstancesToProbabilities for HashMap<K, FilesContaining> where
K: Eq + Hash + Clone,
[src]
K: Eq + Hash + Clone,
type AsProbabilities = HashMap<K, SymbolInfo>
fn instances_to_probabilities(
&self,
_description: &str
) -> HashMap<K, SymbolInfo>
[src]
&self,
_description: &str
) -> HashMap<K, SymbolInfo>
Implementors
impl InstancesToProbabilities for Dictionary<Instances>
[src]
type AsProbabilities = Dictionary<SymbolInfo>
fn instances_to_probabilities(
&self,
_description: &str
) -> Dictionary<SymbolInfo>
[src]
&self,
_description: &str
) -> Dictionary<SymbolInfo>
Convert a dictionary counting instances into a dictionary that counts probabilities.
impl InstancesToProbabilities for DictionaryFamily<Instances>
[src]
type AsProbabilities = DictionaryFamily<SymbolInfo>
fn instances_to_probabilities(
&self,
description: &str
) -> DictionaryFamily<SymbolInfo>
[src]
&self,
description: &str
) -> DictionaryFamily<SymbolInfo>