pub struct Status {
pub a: Vec<f64>,
pub b: f64,
pub c: f64,
pub asum: f64,
pub value: f64,
pub ka: Vec<f64>,
pub g: Vec<f64>,
pub opt_status: OptimizationStatus,
}Expand description
A struct containing information about the current point and state of the optimization routine
Fields§
§a: Vec<f64>Vector of coefficients (typically called α in the literature)
b: f64Value of offset (bias) of the decision function
c: f64Value of additional shift of the decision function depending on the monotonicity of the loss function (applied in ν-SVM approach)
asum: f641-norm of the coefficient vector
value: f64Objective function value
ka: Vec<f64>Helper vector containing product of kernel matrix with coeffient vector (scaled by λ⁻¹)
g: Vec<f64>Helper vector containing values of first-order derivatives
opt_status: OptimizationStatusOptimization status
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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