pub struct ChunkedSvmTrainer<K: Kernel> { /* private fields */ }Expand description
Chunked SVM trainer that works with large datasets
Implementations§
Source§impl<K: Kernel> ChunkedSvmTrainer<K>
impl<K: Kernel> ChunkedSvmTrainer<K>
Sourcepub fn new(kernel: K, config: ChunkedProcessingConfig) -> Self
pub fn new(kernel: K, config: ChunkedProcessingConfig) -> Self
Create new chunked SVM trainer
Sourcepub fn set_dataset(&mut self, dataset: ChunkedDataset)
pub fn set_dataset(&mut self, dataset: ChunkedDataset)
Set dataset
Auto Trait Implementations§
impl<K> Freeze for ChunkedSvmTrainer<K>where
K: Freeze,
impl<K> RefUnwindSafe for ChunkedSvmTrainer<K>where
K: RefUnwindSafe,
impl<K> Send for ChunkedSvmTrainer<K>
impl<K> Sync for ChunkedSvmTrainer<K>
impl<K> Unpin for ChunkedSvmTrainer<K>where
K: Unpin,
impl<K> UnsafeUnpin for ChunkedSvmTrainer<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for ChunkedSvmTrainer<K>where
K: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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