pub struct AlgorithmSpec {
pub family: AlgorithmFamily,
pub name: String,
pub default_params: HashMap<String, String>,
pub param_space: HashMap<String, Vec<String>>,
pub complexity: f64,
pub memory_requirement: f64,
pub supports_proba: bool,
pub handles_missing: bool,
pub handles_categorical: bool,
pub supports_incremental: bool,
}Expand description
Specific algorithm within a family
Fields§
§family: AlgorithmFamilyAlgorithm family
name: StringSpecific algorithm name
default_params: HashMap<String, String>Default hyperparameters
param_space: HashMap<String, Vec<String>>Hyperparameter search space
complexity: f64Computational complexity (relative scale)
memory_requirement: f64Memory requirements (relative scale)
supports_proba: boolSupports probability prediction
handles_missing: boolHandles missing values
handles_categorical: boolHandles categorical features
supports_incremental: boolSupports incremental learning
Trait Implementations§
Source§impl Clone for AlgorithmSpec
impl Clone for AlgorithmSpec
Source§fn clone(&self) -> AlgorithmSpec
fn clone(&self) -> AlgorithmSpec
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 AlgorithmSpec
impl Debug for AlgorithmSpec
Source§impl PartialEq for AlgorithmSpec
impl PartialEq for AlgorithmSpec
impl StructuralPartialEq for AlgorithmSpec
Auto Trait Implementations§
impl Freeze for AlgorithmSpec
impl RefUnwindSafe for AlgorithmSpec
impl Send for AlgorithmSpec
impl Sync for AlgorithmSpec
impl Unpin for AlgorithmSpec
impl UnwindSafe for AlgorithmSpec
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