Trait IntoSupervisedData

Source
pub trait IntoSupervisedData {
    // Required method
    fn to_supervised_data(self) -> (DenseMatrix<f32>, Vec<f32>);
}
Expand description

This trait must be implemented for any types passed to the SupervisedModel::new as data.

Required Methods§

Source

fn to_supervised_data(self) -> (DenseMatrix<f32>, Vec<f32>)

Converts the struct into paired features and labels

Implementations on Foreign Types§

Source§

impl IntoSupervisedData for Dataset<f32, f32>

Source§

impl<X, Y> IntoSupervisedData for (X, Y)
where X: IntoFeatures, Y: IntoLabels,

Implementors§