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§
Sourcefn to_supervised_data(self) -> (DenseMatrix<f32>, Vec<f32>)
fn to_supervised_data(self) -> (DenseMatrix<f32>, Vec<f32>)
Converts the struct into paired features and labels