pub struct HyperparameterConfiguration<T: Float> {
pub id: String,
pub parameters: HashMap<String, T>,
pub categorical_parameters: HashMap<String, String>,
pub score: Option<T>,
pub metadata: HashMap<String, String>,
}Expand description
Hyperparameter configuration
Fields§
§id: StringConfiguration ID
parameters: HashMap<String, T>Parameter values
categorical_parameters: HashMap<String, String>Categorical parameter values
score: Option<T>Configuration score/performance
metadata: HashMap<String, String>Evaluation metadata
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for HyperparameterConfiguration<T>where
T: Deserialize<'de> + Float,
impl<'de, T> Deserialize<'de> for HyperparameterConfiguration<T>where
T: Deserialize<'de> + Float,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<T> Freeze for HyperparameterConfiguration<T>
impl<T> RefUnwindSafe for HyperparameterConfiguration<T>
impl<T> Send for HyperparameterConfiguration<T>
impl<T> Sync for HyperparameterConfiguration<T>
impl<T> Unpin for HyperparameterConfiguration<T>
impl<T> UnsafeUnpin for HyperparameterConfiguration<T>
impl<T> UnwindSafe for HyperparameterConfiguration<T>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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