pub struct PlrTurrell2018 {
pub n_obs: usize,
pub dim_x: usize,
pub theta: f64,
pub nu: f64,
pub gamma: f64,
}Expand description
Turrell (2018): d = m(x'b) + ε, y = θd + g(x'b) + ζ with
g(v) = sin²(v), m(v) = sinh(γ) / (2π(cosh(γ) − cos(v − ν))),
b_k = 1/k and a random positive definite covariance (scikit-learn’s
make_spd_matrix).
Fields§
§n_obs: usize§dim_x: usize§theta: f64§nu: f64§gamma: f64Implementations§
Trait Implementations§
Source§impl Clone for PlrTurrell2018
impl Clone for PlrTurrell2018
Source§impl Debug for PlrTurrell2018
impl Debug for PlrTurrell2018
Source§impl Default for PlrTurrell2018
impl Default for PlrTurrell2018
Source§impl PartialEq for PlrTurrell2018
impl PartialEq for PlrTurrell2018
impl StructuralPartialEq for PlrTurrell2018
Auto Trait Implementations§
impl Freeze for PlrTurrell2018
impl RefUnwindSafe for PlrTurrell2018
impl Send for PlrTurrell2018
impl Sync for PlrTurrell2018
impl Unpin for PlrTurrell2018
impl UnsafeUnpin for PlrTurrell2018
impl UnwindSafe for PlrTurrell2018
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,
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