pub struct AdaptiveParameterSelector<State = Untrained> { /* private fields */ }Expand description
Adaptive parameter selector for preprocessing transformers
Implementations§
Source§impl AdaptiveParameterSelector<Untrained>
impl AdaptiveParameterSelector<Untrained>
Sourcepub fn conservative() -> Self
pub fn conservative() -> Self
Create with conservative strategy
Sourcepub fn aggressive() -> Self
pub fn aggressive() -> Self
Create with aggressive strategy
Sourcepub fn strategy(self, strategy: AdaptationStrategy) -> Self
pub fn strategy(self, strategy: AdaptationStrategy) -> Self
Set the adaptation strategy
Sourcepub fn cross_validation(self, enable: bool, folds: usize) -> Self
pub fn cross_validation(self, enable: bool, folds: usize) -> Self
Enable or disable cross-validation
Sourcepub fn time_budget(self, seconds: Float) -> Self
pub fn time_budget(self, seconds: Float) -> Self
Set time budget for optimization
Source§impl AdaptiveParameterSelector<Trained>
impl AdaptiveParameterSelector<Trained>
Sourcepub fn data_characteristics(&self) -> Option<&DataCharacteristics>
pub fn data_characteristics(&self) -> Option<&DataCharacteristics>
Get the analyzed data characteristics
Sourcepub fn parameter_history(&self) -> Option<&Vec<ParameterEvaluation>>
pub fn parameter_history(&self) -> Option<&Vec<ParameterEvaluation>>
Get parameter evaluation history
Sourcepub fn recommend_parameters(&self) -> Result<ParameterRecommendations>
pub fn recommend_parameters(&self) -> Result<ParameterRecommendations>
Generate comprehensive parameter recommendations
Sourcepub fn adaptation_report(&self) -> Result<String>
pub fn adaptation_report(&self) -> Result<String>
Generate a comprehensive adaptation report
Sourcepub fn get_insights(&self) -> Vec<String>
pub fn get_insights(&self) -> Vec<String>
Get adaptation recommendations as actionable insights
Trait Implementations§
Source§impl<State: Clone> Clone for AdaptiveParameterSelector<State>
impl<State: Clone> Clone for AdaptiveParameterSelector<State>
Source§fn clone(&self) -> AdaptiveParameterSelector<State>
fn clone(&self) -> AdaptiveParameterSelector<State>
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<State: Debug> Debug for AdaptiveParameterSelector<State>
impl<State: Debug> Debug for AdaptiveParameterSelector<State>
Source§impl Default for AdaptiveParameterSelector<Untrained>
impl Default for AdaptiveParameterSelector<Untrained>
Source§impl Fit<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, ()> for AdaptiveParameterSelector<Untrained>
impl Fit<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, ()> for AdaptiveParameterSelector<Untrained>
Source§type Fitted = AdaptiveParameterSelector<Trained>
type Fitted = AdaptiveParameterSelector<Trained>
The fitted model type
Source§fn fit(self, x: &Array2<Float>, _y: &()) -> Result<Self::Fitted>
fn fit(self, x: &Array2<Float>, _y: &()) -> Result<Self::Fitted>
Fit the model to the provided data with validation
Source§fn fit_with_validation(
self,
x: &X,
y: &Y,
_x_val: Option<&X>,
_y_val: Option<&Y>,
) -> Result<(Self::Fitted, FitMetrics), SklearsError>where
Self: Sized,
fn fit_with_validation(
self,
x: &X,
y: &Y,
_x_val: Option<&X>,
_y_val: Option<&Y>,
) -> Result<(Self::Fitted, FitMetrics), SklearsError>where
Self: Sized,
Fit with custom validation and early stopping
Auto Trait Implementations§
impl<State> Freeze for AdaptiveParameterSelector<State>
impl<State> RefUnwindSafe for AdaptiveParameterSelector<State>where
State: RefUnwindSafe,
impl<State> Send for AdaptiveParameterSelector<State>where
State: Send,
impl<State> Sync for AdaptiveParameterSelector<State>where
State: Sync,
impl<State> Unpin for AdaptiveParameterSelector<State>where
State: Unpin,
impl<State> UnwindSafe for AdaptiveParameterSelector<State>where
State: 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