pub struct SearchSpace {
pub c: ParameterSpec,
pub gamma: Option<ParameterSpec>,
pub degree: Option<ParameterSpec>,
pub coef0: Option<ParameterSpec>,
pub kernel: Option<ParameterSpec>,
pub tol: Option<ParameterSpec>,
pub max_iter: Option<ParameterSpec>,
}Expand description
Hyperparameter search space
Fields§
§c: ParameterSpecRegularization parameter C
gamma: Option<ParameterSpec>Kernel parameter gamma (for RBF kernel)
degree: Option<ParameterSpec>Polynomial degree (for polynomial kernel)
coef0: Option<ParameterSpec>Kernel coefficient (for polynomial/sigmoid kernels)
kernel: Option<ParameterSpec>Kernel type
tol: Option<ParameterSpec>Tolerance
max_iter: Option<ParameterSpec>Maximum iterations
Trait Implementations§
Source§impl Clone for SearchSpace
impl Clone for SearchSpace
Source§fn clone(&self) -> SearchSpace
fn clone(&self) -> SearchSpace
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 Debug for SearchSpace
impl Debug for SearchSpace
Auto Trait Implementations§
impl Freeze for SearchSpace
impl RefUnwindSafe for SearchSpace
impl Send for SearchSpace
impl Sync for SearchSpace
impl Unpin for SearchSpace
impl UnwindSafe for SearchSpace
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