pub struct EnsembleLearnerValidParams<P, R> {
pub ensemble_size: usize,
pub bootstrap_proportion: f64,
pub model_params: P,
pub rng: R,
}Fields§
§ensemble_size: usizeThe number of models in the ensemble
bootstrap_proportion: f64The proportion of the total number of training samples that should be given to each model for training
model_params: PThe model parameters for the base model
rng: RTrait Implementations§
Source§impl<P: Clone, R: Clone> Clone for EnsembleLearnerValidParams<P, R>
impl<P: Clone, R: Clone> Clone for EnsembleLearnerValidParams<P, R>
Source§fn clone(&self) -> EnsembleLearnerValidParams<P, R>
fn clone(&self) -> EnsembleLearnerValidParams<P, R>
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<D, T, P: Fit<Array2<D>, T::Owned, Error>, R: Rng + Clone> Fit<ArrayBase<OwnedRepr<D>, Dim<[usize; 2]>>, T, Error> for EnsembleLearnerValidParams<P, R>
impl<D, T, P: Fit<Array2<D>, T::Owned, Error>, R: Rng + Clone> Fit<ArrayBase<OwnedRepr<D>, Dim<[usize; 2]>>, T, Error> for EnsembleLearnerValidParams<P, R>
Source§impl<P: PartialEq, R: PartialEq> PartialEq for EnsembleLearnerValidParams<P, R>
impl<P: PartialEq, R: PartialEq> PartialEq for EnsembleLearnerValidParams<P, R>
Source§fn eq(&self, other: &EnsembleLearnerValidParams<P, R>) -> bool
fn eq(&self, other: &EnsembleLearnerValidParams<P, R>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<P: Copy, R: Copy> Copy for EnsembleLearnerValidParams<P, R>
impl<P, R> StructuralPartialEq for EnsembleLearnerValidParams<P, R>
Auto Trait Implementations§
impl<P, R> Freeze for EnsembleLearnerValidParams<P, R>
impl<P, R> RefUnwindSafe for EnsembleLearnerValidParams<P, R>where
P: RefUnwindSafe,
R: RefUnwindSafe,
impl<P, R> Send for EnsembleLearnerValidParams<P, R>
impl<P, R> Sync for EnsembleLearnerValidParams<P, R>
impl<P, R> Unpin for EnsembleLearnerValidParams<P, R>
impl<P, R> UnwindSafe for EnsembleLearnerValidParams<P, R>where
P: UnwindSafe,
R: UnwindSafe,
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