pub struct CoordinateDescentSolver;Expand description
Coordinate Descent solver (good for L1-regularized problems)
Trait Implementations§
Source§impl Debug for CoordinateDescentSolver
impl Debug for CoordinateDescentSolver
Source§impl OptimizationSolver for CoordinateDescentSolver
impl OptimizationSolver for CoordinateDescentSolver
Source§type Config = CoordinateDescentConfig
type Config = CoordinateDescentConfig
Configuration type for this solver
Source§type Result = CoordinateDescentResult
type Result = CoordinateDescentResult
Result type returned by this solver
Source§fn solve(
&self,
objective: &dyn Objective,
initial_guess: &Array1<Float>,
config: &Self::Config,
) -> Result<Self::Result>
fn solve( &self, objective: &dyn Objective, initial_guess: &Array1<Float>, config: &Self::Config, ) -> Result<Self::Result>
Solve the optimization problem
Source§fn supports_objective(&self, _objective: &dyn Objective) -> bool
fn supports_objective(&self, _objective: &dyn Objective) -> bool
Check if this solver supports the given objective type
Source§fn get_recommendations(&self, data: &ObjectiveData) -> SolverRecommendations
fn get_recommendations(&self, data: &ObjectiveData) -> SolverRecommendations
Get solver-specific recommendations for the given problem
Auto Trait Implementations§
impl Freeze for CoordinateDescentSolver
impl RefUnwindSafe for CoordinateDescentSolver
impl Send for CoordinateDescentSolver
impl Sync for CoordinateDescentSolver
impl Unpin for CoordinateDescentSolver
impl UnwindSafe for CoordinateDescentSolver
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