pub struct StreamingTransformerWrapper { /* private fields */ }Expand description
Wrapper for streaming transformers to work in regular pipelines
Implementations§
Source§impl StreamingTransformerWrapper
impl StreamingTransformerWrapper
Sourcepub fn new<S>(transformer: S, name: String) -> Self
pub fn new<S>(transformer: S, name: String) -> Self
Create a new wrapper for a streaming transformer
Sourcepub fn partial_fit(&mut self, data: &Array2<f64>) -> Result<()>
pub fn partial_fit(&mut self, data: &Array2<f64>) -> Result<()>
Incrementally fit the streaming transformer
Sourcepub fn get_streaming_stats(&self) -> Option<StreamingStats>
pub fn get_streaming_stats(&self) -> Option<StreamingStats>
Get streaming statistics
Trait Implementations§
Source§impl Clone for StreamingTransformerWrapper
impl Clone for StreamingTransformerWrapper
Auto Trait Implementations§
impl Freeze for StreamingTransformerWrapper
impl !RefUnwindSafe for StreamingTransformerWrapper
impl Send for StreamingTransformerWrapper
impl Sync for StreamingTransformerWrapper
impl Unpin for StreamingTransformerWrapper
impl !UnwindSafe for StreamingTransformerWrapper
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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