pub struct OutOfCoreLoader { /* private fields */ }Expand description
Out-of-core data loader for large datasets
Implementations§
Source§impl OutOfCoreLoader
impl OutOfCoreLoader
Sourcepub fn new(data_path: &str, n_samples: usize, n_features: usize) -> Self
pub fn new(data_path: &str, n_samples: usize, n_features: usize) -> Self
Create a new out-of-core loader
Sourcepub fn with_config(self, config: OutOfCoreConfig) -> Self
pub fn with_config(self, config: OutOfCoreConfig) -> Self
Set configuration
Auto Trait Implementations§
impl Freeze for OutOfCoreLoader
impl RefUnwindSafe for OutOfCoreLoader
impl Send for OutOfCoreLoader
impl Sync for OutOfCoreLoader
impl Unpin for OutOfCoreLoader
impl UnwindSafe for OutOfCoreLoader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more