pub struct TrainedGradientBoostingRegressor { /* private fields */ }Expand description
Trained Gradient Boosting Regressor
Implementations§
Source§impl TrainedGradientBoostingRegressor
impl TrainedGradientBoostingRegressor
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 TrainedGradientBoostingRegressor
impl Clone for TrainedGradientBoostingRegressor
Source§fn clone(&self) -> TrainedGradientBoostingRegressor
fn clone(&self) -> TrainedGradientBoostingRegressor
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 TrainedGradientBoostingRegressor
impl Predict<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>> for TrainedGradientBoostingRegressor
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 TrainedGradientBoostingRegressor
impl RefUnwindSafe for TrainedGradientBoostingRegressor
impl Send for TrainedGradientBoostingRegressor
impl Sync for TrainedGradientBoostingRegressor
impl Unpin for TrainedGradientBoostingRegressor
impl UnwindSafe for TrainedGradientBoostingRegressor
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