Shrinkage

shrinkage::StepKind

Shrinkage for Rust · rust · 0.3.0

pub enum StepKind

The operation that produced an observed optimization state.

Variants

Block

Block { index: usize }

One cluster or segment update within a hybrid sweep.

index

index: usize

Zero-based visit within the sweep, rather than a feature index.

Coordinate

Coordinate { index: usize }

One coordinate update, with a zero-based feature index.

index

index: usize

Coordinate updated by this step.

CoordinateSweep

CoordinateSweep

One complete cluster or segment sweep in a hybrid solve.

Final

Final(shrinkage::Termination)

Final state and termination reason, including initially optimal fits.

0

0: shrinkage::Termination

Initial

Initial

Validated solver initialization, before the first update.

Intercept

Intercept

An unpenalized intercept update.

Irls

Irls

An accepted outer IRLS update on the original objective.

ProximalGradient

ProximalGradient

An accepted proximal-gradient update on the current eligible features.

Implementation of Clone

impl Clone for StepKind

clone

fn clone(&self) -> Self

Implementation of Copy

impl Copy for StepKind

Implementation of Debug

impl Debug for StepKind

fmt

fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result

Implementation of Eq

impl Eq for StepKind

Implementation of PartialEq

impl PartialEq for StepKind

eq

fn eq(&self, other: &Self) -> bool

Implementation of StructuralPartialEq

impl StructuralPartialEq for StepKind

Implementation of Freeze

impl Freeze for StepKind

Implementation of RefUnwindSafe

impl RefUnwindSafe for StepKind

Implementation of Send

impl Send for StepKind

Implementation of Sync

impl Sync for StepKind

Implementation of Unpin

impl Unpin for StepKind

Implementation of UnsafeUnpin

impl UnsafeUnpin for StepKind

Implementation of UnwindSafe

impl UnwindSafe for StepKind

Implementation of Any

impl<T> Any for T where T: 'static + ?Sized

Implementation of Boilerplate

impl<T> Boilerplate for T where T: Copy + Send + Sync + Debug + PartialEq + 'static

Implementation of Borrow

impl<T> Borrow<T> for T where T: ?Sized

Implementation of BorrowMut

impl<T> BorrowMut<T> for T where T: ?Sized

Implementation of ByRef

impl<T> ByRef<T> for T

Implementation of CastableFrom

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT where ST: ?Sized, DT: ?Sized

Implementation of CastableFrom

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT where ST: ?Sized, DT: ?Sized

Implementation of CloneToUninit

impl<T> CloneToUninit for T where T: Clone

Implementation of Equivalent

impl<Q, K> Equivalent<K> for Q where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized

Implementation of Equivalent

impl<Q, K> Equivalent<K> for Q where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized

Implementation of From

impl<T> From<T> for T

Implementation of Imply

impl<T, U> Imply<T> for U where T: ?Sized, U: ?Sized

Implementation of Into

impl<T, U> Into<U> for T where U: From<T>

Implementation of IntoEither

impl<T> IntoEither for T

Implementation of Pointable

impl<T> Pointable for T

Implementation of Read

impl<T> Read<Exclusive, BecauseExclusive> for T where T: ?Sized

Implementation of Same

impl<T> Same for T

Implementation of Scalar

impl<T> Scalar for T where T: 'static + Clone + PartialEq + Debug

Implementation of SupersetOf

impl<SS, SP> SupersetOf<SS> for SP where SS: SubsetOf<SP>

Implementation of ToOwned

impl<T> ToOwned for T where T: Clone

Implementation of TryFrom

impl<T, U> TryFrom<U> for T where U: Into<T>

Implementation of TryInto

impl<T, U> TryInto<U> for T where U: TryFrom<T>