Struct light_curve_feature::McmcCurveFit [−][src]
pub struct McmcCurveFit {
pub niterations: u32,
pub fine_tuning_algorithm: Option<Box<CurveFitAlgorithm>>,
}
Expand description
MCMC sampler for non-linear least squares
First it generates 4 * dimension_number
walkers from the given initial guess using the
Standard distribution with sigma = 1e-5
, next it samples niterations
guesses for each walker
and chooses guess corresponding to the minimum sum of squared deviations (maximum likelihood).
Optionally, if fine_tuning_algorithm
is Some
, it sends this best guess to the next
optimization as an initial guess and returns its result
Fields
niterations: u32
fine_tuning_algorithm: Option<Box<CurveFitAlgorithm>>
Implementations
Trait Implementations
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
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for McmcCurveFit
impl Send for McmcCurveFit
impl Sync for McmcCurveFit
impl Unpin for McmcCurveFit
impl UnwindSafe for McmcCurveFit
Blanket Implementations
Convert the given value into an approximately equivalent representation.
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
Convert the subject into an approximately equivalent representation.
Mutably borrows from an owned value. Read more
Approximate the subject with the default scheme.
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject with a specific scheme.
Approximate the subject to a given type with the default scheme.
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
Attempt to convert the subject to a given type.