Trait linfa::dataset::AsTargetsMut
source · pub trait AsTargetsMut {
type Elem;
type Ix: TargetDim;
fn as_targets_mut(&mut self) -> ArrayViewMut<'_, Self::Elem, Self::Ix>;
}
Expand description
Return a mutable reference to single or multiple target variables.
This is generic over the dimension of the target array to support both single-target and multi-target variables.