Struct rusty_machine::datasets::Dataset
[−]
[src]
pub struct Dataset<D, T> where D: Clone + Debug, T: Clone + Debug { /* fields omitted */ }
Dataset container
Methods
impl<D, T> Dataset<D, T> where D: Clone + Debug, T: Clone + Debug
[src]
fn data(&self) -> &D
Returns explanatory variable (features)
fn target(&self) -> &T
Returns objective variable (target)
Trait Implementations
impl<D: Clone, T: Clone> Clone for Dataset<D, T> where D: Clone + Debug, T: Clone + Debug
[src]
fn clone(&self) -> Dataset<D, T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more