pub struct ProximalGradientOptimizer {
pub max_iter: usize,
pub tol: Float,
pub step_size: Option<Float>,
pub use_line_search: bool,
pub accelerated: bool,
pub beta: Float,
pub sigma: Float,
}Expand description
Proximal Gradient Method optimizer for composite objectives
Fields§
§max_iter: usizeMaximum number of iterations
tol: FloatConvergence tolerance
step_size: Option<Float>Initial step size
use_line_search: boolWhether to use line search for step size
accelerated: boolWhether to use acceleration (FISTA)
beta: FloatBacktracking line search parameters
sigma: FloatImplementations§
Source§impl ProximalGradientOptimizer
impl ProximalGradientOptimizer
Sourcepub fn accelerated() -> Self
pub fn accelerated() -> Self
Create accelerated version (FISTA)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProximalGradientOptimizer
impl RefUnwindSafe for ProximalGradientOptimizer
impl Send for ProximalGradientOptimizer
impl Sync for ProximalGradientOptimizer
impl Unpin for ProximalGradientOptimizer
impl UnwindSafe for ProximalGradientOptimizer
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
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