pub struct ExternalEstimatorWrapper { /* private fields */ }Expand description
Ensemble member wrapper for external estimators
Implementations§
Trait Implementations§
Source§impl Debug for ExternalEstimatorWrapper
impl Debug for ExternalEstimatorWrapper
Source§impl EnsembleMember for ExternalEstimatorWrapper
impl EnsembleMember for ExternalEstimatorWrapper
Source§fn set_weight(&mut self, weight: Float)
fn set_weight(&mut self, weight: Float)
Set estimator weight
Source§fn performance(&self) -> Float
fn performance(&self) -> Float
Get estimator performance metric
Source§fn update_performance(&mut self, performance: Float)
fn update_performance(&mut self, performance: Float)
Update performance metric
Source§fn confidence(&self) -> Float
fn confidence(&self) -> Float
Get prediction confidence
Source§fn predict_proba(&self, _x: &Array2<Float>) -> Result<Array2<Float>>
fn predict_proba(&self, _x: &Array2<Float>) -> Result<Array2<Float>>
Make probability predictions (if supported)
Source§fn supports_proba(&self) -> bool
fn supports_proba(&self) -> bool
Check if estimator supports probability predictions
Source§fn complexity(&self) -> Float
fn complexity(&self) -> Float
Get model complexity measure
Source§fn n_features(&self) -> Option<usize>
fn n_features(&self) -> Option<usize>
Get number of features expected
Source§fn uncertainty(&self, _x: &Array2<Float>) -> Result<Array1<Float>>
fn uncertainty(&self, _x: &Array2<Float>) -> Result<Array1<Float>>
Calculate prediction uncertainty
Source§fn clone_estimator(&self) -> Box<dyn EnsembleMember + Send + Sync>
fn clone_estimator(&self) -> Box<dyn EnsembleMember + Send + Sync>
Clone the estimator (for ensemble operations)
Auto Trait Implementations§
impl Freeze for ExternalEstimatorWrapper
impl RefUnwindSafe for ExternalEstimatorWrapper
impl Send for ExternalEstimatorWrapper
impl Sync for ExternalEstimatorWrapper
impl Unpin for ExternalEstimatorWrapper
impl UnwindSafe for ExternalEstimatorWrapper
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