#[non_exhaustive]pub struct BaselineConfig {
pub initial_prediction: f64,
}Expand description
Configuration shared by baseline regressors.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.initial_prediction: f64Prediction returned before any target has been observed.
Trait Implementations§
Source§impl Clone for BaselineConfig
impl Clone for BaselineConfig
Source§fn clone(&self) -> BaselineConfig
fn clone(&self) -> BaselineConfig
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 BaselineConfig
impl Debug for BaselineConfig
Auto Trait Implementations§
impl Freeze for BaselineConfig
impl RefUnwindSafe for BaselineConfig
impl Send for BaselineConfig
impl Sync for BaselineConfig
impl Unpin for BaselineConfig
impl UnsafeUnpin for BaselineConfig
impl UnwindSafe for BaselineConfig
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