pub struct ActiveLearningConfig<T> {
pub max_samples_per_iteration: usize,
pub total_budget: usize,
pub exploration_weight: T,
pub min_sample_distance: T,
pub convergence_threshold: T,
pub uncertainty_weight: T,
pub error_weight: T,
pub gradient_weight: T,
}
Expand description
Parameters controlling active learning behavior
Fields§
§max_samples_per_iteration: usize
Maximum number of new samples to suggest in one iteration
total_budget: usize
Total sampling budget (maximum number of samples)
exploration_weight: T
Weight for exploration vs exploitation (0.0 = pure exploitation, 1.0 = pure exploration)
min_sample_distance: T
Minimum distance between new sampling points (to avoid clustering)
convergence_threshold: T
Threshold for stopping active learning (when improvement is below this)
uncertainty_weight: T
Weight for uncertainty in combined strategies
error_weight: T
Weight for error estimates in combined strategies
gradient_weight: T
Weight for gradient estimates in combined strategies
Trait Implementations§
Source§impl<T: Clone> Clone for ActiveLearningConfig<T>
impl<T: Clone> Clone for ActiveLearningConfig<T>
Source§fn clone(&self) -> ActiveLearningConfig<T>
fn clone(&self) -> ActiveLearningConfig<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for ActiveLearningConfig<T>
impl<T: Debug> Debug for ActiveLearningConfig<T>
Source§impl<T: Float + FromPrimitive> Default for ActiveLearningConfig<T>
impl<T: Float + FromPrimitive> Default for ActiveLearningConfig<T>
Auto Trait Implementations§
impl<T> Freeze for ActiveLearningConfig<T>where
T: Freeze,
impl<T> RefUnwindSafe for ActiveLearningConfig<T>where
T: RefUnwindSafe,
impl<T> Send for ActiveLearningConfig<T>where
T: Send,
impl<T> Sync for ActiveLearningConfig<T>where
T: Sync,
impl<T> Unpin for ActiveLearningConfig<T>where
T: Unpin,
impl<T> UnwindSafe for ActiveLearningConfig<T>where
T: 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