pub trait DatasetRecord: DeserializeOwned {
const N_INPUTS: usize;
// Required methods
fn input(&self, column: usize) -> f64;
fn target(&self) -> f64;
}Expand description
A record that can be collected into a dataset.
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".