pub struct TrainedGradientBoostingClassifier { /* private fields */ }Expand description
Trained Gradient Boosting Classifier
Implementations§
Source§impl TrainedGradientBoostingClassifier
impl TrainedGradientBoostingClassifier
pub fn feature_importances_gain(&self) -> &Array1<Float>
pub fn feature_importances_frequency(&self) -> &Array1<Float>
pub fn feature_importances_cover(&self) -> &Array1<Float>
Trait Implementations§
Source§impl Clone for TrainedGradientBoostingClassifier
impl Clone for TrainedGradientBoostingClassifier
Source§fn clone(&self) -> TrainedGradientBoostingClassifier
fn clone(&self) -> TrainedGradientBoostingClassifier
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Predict<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>> for TrainedGradientBoostingClassifier
impl Predict<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>> for TrainedGradientBoostingClassifier
Source§fn predict(&self, X: &Array2<Float>) -> Result<Array1<Float>>
fn predict(&self, X: &Array2<Float>) -> Result<Array1<Float>>
Make predictions on the provided data
Source§fn predict_with_uncertainty(
&self,
x: &X,
) -> Result<(Output, UncertaintyMeasure), SklearsError>
fn predict_with_uncertainty( &self, x: &X, ) -> Result<(Output, UncertaintyMeasure), SklearsError>
Make predictions with confidence intervals
Auto Trait Implementations§
impl Freeze for TrainedGradientBoostingClassifier
impl RefUnwindSafe for TrainedGradientBoostingClassifier
impl Send for TrainedGradientBoostingClassifier
impl Sync for TrainedGradientBoostingClassifier
impl Unpin for TrainedGradientBoostingClassifier
impl UnwindSafe for TrainedGradientBoostingClassifier
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