Enum lace::ConditionalEntropyType
source · pub enum ConditionalEntropyType {
UnNormed,
InfoProp,
}
Expand description
The variant on conditional entropy to compute
Variants§
UnNormed
Normal conditional entropy
InfoProp
IP(X; Y), The proportion of information in X accounted for by Y
Trait Implementations§
source§impl Clone for ConditionalEntropyType
impl Clone for ConditionalEntropyType
source§fn clone(&self) -> ConditionalEntropyType
fn clone(&self) -> ConditionalEntropyType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConditionalEntropyType
impl Debug for ConditionalEntropyType
source§impl<'de> Deserialize<'de> for ConditionalEntropyType
impl<'de> Deserialize<'de> for ConditionalEntropyType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ConditionalEntropyType
impl Hash for ConditionalEntropyType
source§impl Ord for ConditionalEntropyType
impl Ord for ConditionalEntropyType
source§fn cmp(&self, other: &ConditionalEntropyType) -> Ordering
fn cmp(&self, other: &ConditionalEntropyType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ConditionalEntropyType
impl PartialEq for ConditionalEntropyType
source§fn eq(&self, other: &ConditionalEntropyType) -> bool
fn eq(&self, other: &ConditionalEntropyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConditionalEntropyType
impl PartialOrd for ConditionalEntropyType
source§fn partial_cmp(&self, other: &ConditionalEntropyType) -> Option<Ordering>
fn partial_cmp(&self, other: &ConditionalEntropyType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ConditionalEntropyType
impl Serialize for ConditionalEntropyType
impl Copy for ConditionalEntropyType
impl Eq for ConditionalEntropyType
impl StructuralPartialEq for ConditionalEntropyType
Auto Trait Implementations§
impl RefUnwindSafe for ConditionalEntropyType
impl Send for ConditionalEntropyType
impl Sync for ConditionalEntropyType
impl Unpin for ConditionalEntropyType
impl UnwindSafe for ConditionalEntropyType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.