pub struct DictionaryResult {
pub dict: Vec<f64>,
pub codes: Vec<f64>,
pub iterations: usize,
}Expand description
Dictionary learning result.
Fields§
§dict: Vec<f64>d × k dictionary row-major (each column is an atom).
codes: Vec<f64>k × n_samples coefficient matrix row-major.
iterations: usizeTrait Implementations§
Source§impl Clone for DictionaryResult
impl Clone for DictionaryResult
Source§fn clone(&self) -> DictionaryResult
fn clone(&self) -> DictionaryResult
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 DictionaryResult
impl RefUnwindSafe for DictionaryResult
impl Send for DictionaryResult
impl Sync for DictionaryResult
impl Unpin for DictionaryResult
impl UnsafeUnpin for DictionaryResult
impl UnwindSafe for DictionaryResult
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