pub struct NeuralPipelineController { /* private fields */ }Expand description
Neural pipeline controller
Implementations§
Source§impl NeuralPipelineController
impl NeuralPipelineController
Sourcepub fn new(
controller_network: DifferentiablePipeline,
controlled_pipeline: Box<dyn PipelineComponent>,
control_strategy: ControlStrategy,
) -> Self
pub fn new( controller_network: DifferentiablePipeline, controlled_pipeline: Box<dyn PipelineComponent>, control_strategy: ControlStrategy, ) -> Self
Create a new neural pipeline controller
Sourcepub fn adapt(&mut self, performance_data: &Array2<Float>) -> SklResult<()>
pub fn adapt(&mut self, performance_data: &Array2<Float>) -> SklResult<()>
Adapt the controlled pipeline
Sourcepub fn get_adaptation_history(&self) -> &[AdaptationRecord]
pub fn get_adaptation_history(&self) -> &[AdaptationRecord]
Get adaptation history
Sourcepub fn get_performance_metrics(&self) -> &ControllerMetrics
pub fn get_performance_metrics(&self) -> &ControllerMetrics
Get performance metrics
Auto Trait Implementations§
impl Freeze for NeuralPipelineController
impl !RefUnwindSafe for NeuralPipelineController
impl Send for NeuralPipelineController
impl Sync for NeuralPipelineController
impl Unpin for NeuralPipelineController
impl !UnwindSafe for NeuralPipelineController
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