pub enum Stop {
Minimum,
Start,
Slope,
Decomposition,
StepLimit,
NoStep,
}Expand description
The rule that ended poisson_fit.
Variants§
Minimum
The Newton decrement fell below NEWTON_DECREMENT_TOL, or no step
lowers the objective with every parameter’s own decrement below it and
the trial steps a test of that.
Start
The objective is not finite at the start, as when a count is predicted negative, or zero where something was counted.
Slope
A slope of the predicted counts, weighted by its bin, is not finite.
Decomposition
The singular value decomposition of the slopes failed.
StepLimit
max_iter steps were taken.
NoStep
No step lowers the objective, with NEWTON_DECREMENT_TOL or more
left to one parameter on its own or the trial steps no test of that.
Trait Implementations§
impl Copy for Stop
impl Eq for Stop
impl StructuralPartialEq for Stop
Auto Trait Implementations§
impl Freeze for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnsafeUnpin for Stop
impl UnwindSafe for Stop
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