Shrinkage

shrinkage::HybridStep

Shrinkage for Rust · rust · 0.3.0

pub enum HybridStep

Curvature policy for HybridCoordinateDescent's proximal-gradient transitions.

Variants

Backtracking

Backtracking { initial_curvature: Option<f64>, max_backtracks: usize }

Validate each transition against the current quadratic model. Accepted curvatures can only increase within a quadratic solve.

initial_curvature

initial_curvature: Option<f64>

Positive curvature seed, or the largest averaged column curvature. Include the intercept curvature when enabled; use one at zero.

max_backtracks

max_backtracks: usize

Maximum number of curvature doublings after the first trial.

FixedBound

FixedBound

Use a computed Frobenius upper bound, including the intercept column. The bound is conservative and requires no spectral estimate or Gram.

Implementation of Clone

impl Clone for HybridStep

clone

fn clone(&self) -> Self

Implementation of Copy

impl Copy for HybridStep

Implementation of Debug

impl Debug for HybridStep

fmt

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

Implementation of Default

impl Default for HybridStep

default

fn default() -> Self

Implementation of PartialEq

impl PartialEq for HybridStep

eq

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

Implementation of StructuralPartialEq

impl StructuralPartialEq for HybridStep

Implementation of Freeze

impl Freeze for HybridStep

Implementation of RefUnwindSafe

impl RefUnwindSafe for HybridStep

Implementation of Send

impl Send for HybridStep

Implementation of Sync

impl Sync for HybridStep

Implementation of Unpin

impl Unpin for HybridStep

Implementation of UnsafeUnpin

impl UnsafeUnpin for HybridStep

Implementation of UnwindSafe

impl UnwindSafe for HybridStep

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 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>