Trait linfa::dataset::Labels [−][src]
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
A NdArray with discrete labels can act as labels