pub struct FitRequestConfigDocument {Show 44 fields
pub adaptive_regularization: Option<bool>,
pub baseline_makeham: Option<f64>,
pub baseline_rate: Option<f64>,
pub baseline_scale: Option<f64>,
pub baseline_shape: Option<f64>,
pub baseline_target: Option<String>,
pub ctn_stage1: Option<CtnStage1Document>,
pub expectile_tau: Option<f64>,
pub family: Option<String>,
pub firth: Option<bool>,
pub flexible_link: Option<bool>,
pub frailty_kind: Option<String>,
pub frailty_sd: Option<f64>,
pub gpu: Option<String>,
pub group_metadata: Option<BTreeMap<String, Value>>,
pub hazard_loading: Option<String>,
pub latent_coordinates: Option<LatentCoordinatesDocument>,
pub link: Option<String>,
pub logslope_formula: Option<String>,
pub negative_binomial_theta: Option<f64>,
pub noise_formula: Option<String>,
pub noise_offset: Option<String>,
pub offset: Option<String>,
pub outer_max_iter: Option<usize>,
pub analytic_penalties: Option<AnalyticPenaltiesDocument>,
pub pilot_subsample_threshold: Option<usize>,
pub precision_hyperpriors: Option<BTreeMap<String, PrecisionHyperpriorDocument>>,
pub ridge_lambda: Option<f64>,
pub scale_dimensions: Option<bool>,
pub sigma_time_degree: Option<usize>,
pub sigma_time_k: Option<usize>,
pub smooth_descriptors: Option<SmoothDescriptorsDocument>,
pub survival_distribution: Option<String>,
pub survival_likelihood: Option<String>,
pub threshold_time_degree: Option<usize>,
pub threshold_time_k: Option<usize>,
pub time_basis: Option<String>,
pub time_degree: Option<usize>,
pub time_num_internal_knots: Option<usize>,
pub time_smooth_lambda: Option<f64>,
pub training_table_kind: Option<String>,
pub transformation_normal: Option<bool>,
pub weights: Option<String>,
pub z_column: Option<String>,
}Expand description
Serializable model configuration shared by Rust, Python, and the CLI.
Optional fields mean “use the core gam_models::fit_orchestration::FitConfig
default”. The document deliberately has one spelling for each concept; the
parser does not carry aliases or legacy wire formats.
Fields§
§adaptive_regularization: Option<bool>§baseline_makeham: Option<f64>§baseline_rate: Option<f64>§baseline_scale: Option<f64>§baseline_shape: Option<f64>§baseline_target: Option<String>§ctn_stage1: Option<CtnStage1Document>§expectile_tau: Option<f64>§family: Option<String>§firth: Option<bool>§flexible_link: Option<bool>§frailty_kind: Option<String>§frailty_sd: Option<f64>§gpu: Option<String>§group_metadata: Option<BTreeMap<String, Value>>§hazard_loading: Option<String>§latent_coordinates: Option<LatentCoordinatesDocument>§link: Option<String>§logslope_formula: Option<String>§negative_binomial_theta: Option<f64>§noise_formula: Option<String>§noise_offset: Option<String>§offset: Option<String>§outer_max_iter: Option<usize>§analytic_penalties: Option<AnalyticPenaltiesDocument>§pilot_subsample_threshold: Option<usize>§precision_hyperpriors: Option<BTreeMap<String, PrecisionHyperpriorDocument>>§ridge_lambda: Option<f64>§scale_dimensions: Option<bool>§sigma_time_degree: Option<usize>§sigma_time_k: Option<usize>§smooth_descriptors: Option<SmoothDescriptorsDocument>§survival_distribution: Option<String>§survival_likelihood: Option<String>§threshold_time_degree: Option<usize>§threshold_time_k: Option<usize>§time_basis: Option<String>§time_degree: Option<usize>§time_num_internal_knots: Option<usize>§time_smooth_lambda: Option<f64>§training_table_kind: Option<String>Container type of the caller’s training table ("pandas", "polars",
"pyarrow", "numpy", …), passed through opaquely into the saved
model payload for the predict-time output-container fallback (#394).
transformation_normal: Option<bool>§weights: Option<String>§z_column: Option<String>Trait Implementations§
Source§impl Clone for FitRequestConfigDocument
impl Clone for FitRequestConfigDocument
Source§fn clone(&self) -> FitRequestConfigDocument
fn clone(&self) -> FitRequestConfigDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FitRequestConfigDocument
impl Debug for FitRequestConfigDocument
Source§impl Default for FitRequestConfigDocument
impl Default for FitRequestConfigDocument
Source§fn default() -> FitRequestConfigDocument
fn default() -> FitRequestConfigDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FitRequestConfigDocument
impl<'de> Deserialize<'de> for FitRequestConfigDocument
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
Source§impl PartialEq for FitRequestConfigDocument
impl PartialEq for FitRequestConfigDocument
Source§impl Serialize for FitRequestConfigDocument
impl Serialize for FitRequestConfigDocument
impl StructuralPartialEq for FitRequestConfigDocument
Auto Trait Implementations§
impl Freeze for FitRequestConfigDocument
impl RefUnwindSafe for FitRequestConfigDocument
impl Send for FitRequestConfigDocument
impl Sync for FitRequestConfigDocument
impl Unpin for FitRequestConfigDocument
impl UnsafeUnpin for FitRequestConfigDocument
impl UnwindSafe for FitRequestConfigDocument
Blanket Implementations§
impl<T> Allocation for T
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> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.