pub struct VotingClassifierBuilder { /* private fields */ }Expand description
Builder for VotingClassifier
Implementations§
Source§impl VotingClassifierBuilder
impl VotingClassifierBuilder
pub fn new() -> Self
pub fn voting(self, voting: VotingStrategy) -> Self
pub fn weights(self, weights: Vec<Float>) -> Self
pub fn confidence_weighting(self, enable: bool) -> Self
pub fn confidence_threshold(self, threshold: Float) -> Self
pub fn min_confidence_weight(self, weight: Float) -> Self
pub fn enable_uncertainty(self, enable: bool) -> Self
pub fn temperature(self, temp: Float) -> Self
pub fn meta_regularization(self, reg: Float) -> Self
pub fn n_bootstrap_samples(self, n: usize) -> Self
pub fn consensus_threshold(self, threshold: Float) -> Self
pub fn entropy_weight_factor(self, factor: Float) -> Self
pub fn variance_weight_factor(self, factor: Float) -> Self
pub fn weight_adjustment_rate(self, rate: Float) -> Self
pub fn confidence_weighted() -> Self
pub fn bayesian_averaging() -> Self
pub fn meta_voting() -> Self
pub fn uncertainty_aware() -> Self
pub fn entropy_weighted() -> Self
pub fn variance_weighted() -> Self
pub fn consensus_based() -> Self
pub fn build(self) -> VotingClassifier<Untrained>
Trait Implementations§
Source§impl Debug for VotingClassifierBuilder
impl Debug for VotingClassifierBuilder
Auto Trait Implementations§
impl Freeze for VotingClassifierBuilder
impl RefUnwindSafe for VotingClassifierBuilder
impl Send for VotingClassifierBuilder
impl Sync for VotingClassifierBuilder
impl Unpin for VotingClassifierBuilder
impl UnwindSafe for VotingClassifierBuilder
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