Function from_binary
Source pub fn from_binary<P: AsRef<Path>>(
path: P,
n_samples: usize,
n_features: usize,
) -> Result<LazyDataset>
Expand description
Create a lazy-loaded dataset from a binary file
§Arguments
path - Path to the binary file (f64 in row-major order)
n_samples - Number of samples
n_features - Number of features
§Returns
Ok(LazyDataset) - The lazy dataset
Err(DatasetsError) - If creation fails