Trait Label
linfa::dataset
pub trait Label: PartialEq + Eq + Hash + Clone { }
Discrete labels
Labels are countable, comparable and hashable. Currently null-type (no targets), boolean (binary task) and usize, strings (multi-label tasks) are supported.
impl Label for bool
impl Label for usize
impl Label for String
impl Label for ()
impl Label for &str
impl Label for Option<usize>