pub struct ParallelSmoResult {
pub alpha: Array1<Float>,
pub bias: Float,
pub n_iterations: usize,
pub converged: bool,
pub convergence_history: Vec<Float>,
pub n_support_vectors: usize,
pub parallel_efficiency: Float,
}Expand description
Result of parallel SMO optimization
Fields§
§alpha: Array1<Float>Dual variables (Lagrange multipliers)
bias: FloatBias term
n_iterations: usizeNumber of global iterations performed
converged: boolWhether the algorithm converged
convergence_history: Vec<Float>History of convergence violations
n_support_vectors: usizeNumber of support vectors
parallel_efficiency: FloatParallel efficiency (0.0 to 1.0)
Implementations§
Source§impl ParallelSmoResult
impl ParallelSmoResult
Sourcepub fn support_vector_indices(&self) -> Vec<usize>
pub fn support_vector_indices(&self) -> Vec<usize>
Get support vector indices
Sourcepub fn support_vector_coefficients(&self) -> Array1<Float>
pub fn support_vector_coefficients(&self) -> Array1<Float>
Get support vector coefficients
Trait Implementations§
Source§impl Clone for ParallelSmoResult
impl Clone for ParallelSmoResult
Source§fn clone(&self) -> ParallelSmoResult
fn clone(&self) -> ParallelSmoResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParallelSmoResult
impl RefUnwindSafe for ParallelSmoResult
impl Send for ParallelSmoResult
impl Sync for ParallelSmoResult
impl Unpin for ParallelSmoResult
impl UnsafeUnpin for ParallelSmoResult
impl UnwindSafe for ParallelSmoResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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