pub trait Labels {
type Elem: Label;
fn label_count(&self) -> Vec<HashMap<Self::Elem, usize>>;
fn label_set(&self) -> Vec<HashSet<Self::Elem>> { ... }
fn labels(&self) -> Vec<Self::Elem> { ... }
}
Expand description
Get the labels in all targets
Associated Types
Required methods
Provided methods
Implementations on Foreign Types
sourceimpl<L: Label, S: Data<Elem = L>, I: Dimension> Labels for ArrayBase<S, I>
impl<L: Label, S: Data<Elem = L>, I: Dimension> Labels for ArrayBase<S, I>
A NdArray with discrete labels can act as labels